Fix/dataset page may redirect to apps if it still getting user info and workspace info (#21221)

This commit is contained in:
NFish
2025-06-19 15:40:15 +08:00
committed by GitHub
parent 2020a31785
commit db20f9bb71
3 changed files with 18 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ const Datasets = ({
currentContainer?.removeEventListener('scroll', onScroll)
onScroll.cancel()
}
}, [onScroll])
}, [containerRef, onScroll])
return (
<nav className='grid shrink-0 grow grid-cols-1 content-start gap-4 px-12 pt-2 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4'>