mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 06:39:09 +03:00
add default redirect
This commit is contained in:
1 parent
98945c7755
commit
676fdba2dc
1 file changed
+4
@@ -38,6 +38,10 @@ const LogsLayout = ({ title, children }: PropsWithChildren<LogsLayoutProps>) =>
|
||||
query: { ref },
|
||||
})
|
||||
}
|
||||
|
||||
if (last5chars === '/logs' && !lastLogsPage) {
|
||||
router.push('/logs/explorer')
|
||||
}
|
||||
}, [router, lastLogsPage, ref])
|
||||
|
||||
if (!canUseLogsExplorer) {
|
||||
|
||||
Reference in new issue
Block a user