The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: _app type issues in Next due to new next version and react
Jonathan Summers-Muir8de25a7d722d
diff --git a/studio/types/next.ts b/studio/types/next.tsindex 629d626cc8b..440e552e411 100644--- a/studio/types/next.ts+++ b/studio/types/next.ts@@ -2,11 +2,11 @@ import { NextPage } from 'next'import { AppProps } from 'next/app'import { ComponentType, ReactElement, ReactNode } from 'react'-export type AppPropsWithLayout = AppProps & {+export type AppPropsWithLayout = AppProps<{ dehydratedState: any }> & {Component: NextPageWithLayout}-export type NextPageWithLayout<P = {}, IP = P> = NextPage<P, IP> & {+export type NextPageWithLayout<P = { dehydratedState: any }, IP = P> = NextPage<P, IP> & {getLayout?: (page: ReactElement) => ReactNode}