Skip to content

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

cleanup

Francesco Sansalvadore6d422123ffc7
diff --git a/apps/docs/layouts/DefaultLayout.tsx b/apps/docs/layouts/DefaultLayout.tsx
index baabca81a9f..393b86abf29 100644
--- a/apps/docs/layouts/DefaultLayout.tsx
+++ b/apps/docs/layouts/DefaultLayout.tsx
@@ -21,7 +21,7 @@ interface Props {
}
const Layout: FC<Props> = (props: Props) => {
- const { asPath, basePath } = useRouter()
+ const { asPath } = useRouter()
const hasTableOfContents =
props.toc !== undefined &&
diff --git a/apps/docs/layouts/HomeLayout.tsx b/apps/docs/layouts/HomeLayout.tsx
index c312b315c96..3f4928902fb 100644
--- a/apps/docs/layouts/HomeLayout.tsx
+++ b/apps/docs/layouts/HomeLayout.tsx
@@ -22,7 +22,7 @@ interface Props {
}
const HomeLayout: FC<Props> = (props: Props) => {
- const { asPath, basePath } = useRouter()
+ const { asPath } = useRouter()
const hasTableOfContents =
props.toc !== undefined &&
diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsx
index 4b1fd8046dd..a059b66feab 100644
--- a/apps/docs/layouts/guides/index.tsx
+++ b/apps/docs/layouts/guides/index.tsx
@@ -5,11 +5,9 @@ import Link from 'next/link'
import { useRouter } from 'next/router'
import { FC, useEffect, useRef, useState } from 'react'
import { IconExternalLink } from 'ui'
-import ExpandableVideo from 'ui/src/components/ExpandableVideo/ExpandableVideo'
import components from '~/components'
import { highlightSelectedTocItem } from '~/components/CustomHTMLElements/CustomHTMLElements.utils'
-import FooterHelpCallout, { FooterHelpCalloutType } from '~/components/FooterHelpCallout'
-import GuidesTableOfContents from '~/components/GuidesTableOfContents'
+import { FooterHelpCalloutType } from '~/components/FooterHelpCallout'
import useHash from '~/hooks/useHash'
import { LayoutMainContent } from '../DefaultLayout'