mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix active nav state when using anchor
This commit is contained in:
1 parent
2f1d2bb12e
commit
f25fdf7ea4
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ import BillingBreakdown from './BillingBreakdown/BillingBreakdown'
|
||||
const BillingSettings = () => {
|
||||
return (
|
||||
<>
|
||||
<ScaffoldContainer>
|
||||
<ScaffoldContainer id='subscription'>
|
||||
<Subscription />
|
||||
</ScaffoldContainer>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ const OrganizationLayout = ({ children }: PropsWithChildren<{}>) => {
|
||||
const selectedOrganization = useSelectedOrganization()
|
||||
const router = useRouter()
|
||||
const { slug } = useParams()
|
||||
const id = router.asPath.split('/').at(-1)?.split('?')[0]
|
||||
const id = router.asPath.split('/').at(-1)?.split('?')[0]?.split('#')[0]
|
||||
const showOAuthApps = useFlag('oauthApps')
|
||||
const showAuditLogs = useFlag('auditLogs')
|
||||
const showIntegrationsV2 = useFlag('integrationsV2')
|
||||
|
||||
Reference in new issue
Block a user