diff --git a/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx b/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx index f0a10fb7ec7..85d862d9ac3 100644 --- a/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx +++ b/apps/studio/components/layouts/LogsLayout/LogsLayout.tsx @@ -38,6 +38,10 @@ const LogsLayout = ({ title, children }: PropsWithChildren) => query: { ref }, }) } + + if (last5chars === '/logs' && !lastLogsPage) { + router.push('/logs/explorer') + } }, [router, lastLogsPage, ref]) if (!canUseLogsExplorer) {