mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 03:45:06 +03:00
* Default to new organization layout + remove feature preview * Remove feature preview * Clean up LayoutUpdateBanner * Clean up * Fix * Fixy fix * Update comment * Nit to fix layout shift
20 lines
494 B
TypeScript
20 lines
494 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
import { withAuth } from 'hooks/misc/withAuth'
|
|
|
|
const WizardLayout = ({ children }: PropsWithChildren<{}>) => {
|
|
return (
|
|
<div className="flex w-full flex-col">
|
|
<div className="overflow-auto">
|
|
<section className="has-slide-in slide-in relative mx-auto my-10 max-w-2xl">
|
|
{children}
|
|
</section>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default withAuth(WizardLayout)
|
|
|
|
export const WizardLayoutWithoutAuth = WizardLayout
|