Skip to content

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

fix: use anchor instead of Link for external href

Andy Kenward8d4e64c7c3f7
diff --git a/apps/docs/layouts/guides/index.tsx b/apps/docs/layouts/guides/index.tsx
index d952b6b50be..ee025a2b358 100644
--- a/apps/docs/layouts/guides/index.tsx
+++ b/apps/docs/layouts/guides/index.tsx
@@ -137,14 +137,12 @@ const Layout: FC<Props> = (props) => {
) : (
<div className="mt-16 not-prose">
<div>
- <Link
+ <a
href={`https://github.com/supabase/supabase/edit/master/apps/docs/pages${router.asPath}.mdx`}
- passHref
+ className="text-sm transition flex items-center gap-1 text-scale-1000 hover:text-scale-1200"
>
- <a className="text-sm transition flex items-center gap-1 text-scale-1000 hover:text-scale-1200">
- Edit this page on GitHub <IconExternalLink size={14} strokeWidth={1.5} />
- </a>
- </Link>
+ Edit this page on GitHub <IconExternalLink size={14} strokeWidth={1.5} />
+ </a>
</div>
</div>
)}