Files
supabase/apps/studio/components/layouts/AuthenticationLayout.tsx
T
Joshen Lim 9dbc4fc851 Simplify logic in NoticeBanner by using useLocalStorageQuery (#41890)
* Simplify logic in NoticeBanner by using useLocalStorageQuery

* Clean up

* Deprecate AppBannerWrapperContext
2026-01-19 13:07:22 +08:00

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>
)
}