Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix failing test

Terry Sutton5029c753ad92
diff --git a/packages/ui/src/components/Tabs/Tabs.tsx b/packages/ui/src/components/Tabs/Tabs.tsx
index e79fd1569ce..da9de69154f 100644
--- a/packages/ui/src/components/Tabs/Tabs.tsx
+++ b/packages/ui/src/components/Tabs/Tabs.tsx
@@ -50,7 +50,7 @@ function Tabs({
)
const router = useRouter()
- const hash = router.asPath.split('#')[1]?.toUpperCase()
+ const hash = router.asPath?.split('#')[1]?.toUpperCase()
let __styles = styleHandler('tabs')