Update layout.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Stephen Zhou 2026-03-20 11:14:32 +08:00 committed by GitHub
parent 90443645b2
commit 8673d4433b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ export default function DatasetsLayout({ children }: { children: React.ReactNode
router.replace('/apps')
}, [shouldRedirect, router])
if (!isWorkspaceReady || shouldRedirect) {
if (shouldRedirect) {
return null
}