mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
* chore: toast auth initialization errors * Redirect back to sign in if authentication fails * add debug logs * remove debug logs * debug gotrue * remove gotrue debug
18 lines
614 B
TypeScript
18 lines
614 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
import { AppBannerWrapper } from 'components/interfaces/App'
|
|
import { AppBannerContextProvider } from 'components/interfaces/App/AppBannerWrapperContext'
|
|
|
|
export const AuthenticationLayout = ({ children }: PropsWithChildren<{}>) => {
|
|
return (
|
|
<AppBannerContextProvider>
|
|
<div className="flex flex-col min-h-screen w-screen">
|
|
<AppBannerWrapper />
|
|
<div className="flex flex-1 w-full overflow-y-hidden">
|
|
<div className="flex-grow h-full overflow-y-auto">{children}</div>
|
|
</div>
|
|
</div>
|
|
</AppBannerContextProvider>
|
|
)
|
|
}
|