mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
* Simplify logic in NoticeBanner by using useLocalStorageQuery * Clean up * Deprecate AppBannerWrapperContext
15 lines
463 B
TypeScript
15 lines
463 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
import { AppBannerWrapper } from 'components/interfaces/App/AppBannerWrapper'
|
|
|
|
export const AuthenticationLayout = ({ children }: PropsWithChildren<{}>) => {
|
|
return (
|
|
<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>
|
|
)
|
|
}
|