Files
Joshen Lim fd98a08a4f Chore/default to new organization layout (#35515)
* 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
2025-05-13 11:25:35 +08:00

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