Skip to content

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

Functions only, please

Terry Sutton6b4a38dce692
diff --git a/apps/temp-docs/pages/_document.tsx b/apps/temp-docs/pages/_document.tsx
index d6c12b699ae..f550928130a 100644
--- a/apps/temp-docs/pages/_document.tsx
+++ b/apps/temp-docs/pages/_document.tsx
@@ -1,15 +1,13 @@
-import Document, { Html, Head, Main, NextScript } from 'next/document'
+import { Html, Head, Main, NextScript } from 'next/document'
-export default class MyDocument extends Document {
- render() {
- return (
- <Html lang="en" className="dark">
- <Head></Head>
- <body className="bg-white dark:bg-gray-800">
- <Main />
- <NextScript />
- </body>
- </Html>
- )
- }
+export default function Document() {
+ return (
+ <Html lang="en" className="dark">
+ <Head></Head>
+ <body className="bg-white dark:bg-gray-800">
+ <Main />
+ <NextScript />
+ </body>
+ </Html>
+ )
}