mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
21 lines
416 B
TypeScript
21 lines
416 B
TypeScript
'use client'
|
|
import { OrgProvider } from '@components/Contexts/OrgContext'
|
|
import Toast from '@components/StyledElements/Toast/Toast'
|
|
import '@styles/globals.css'
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
params,
|
|
}: {
|
|
children: React.ReactNode
|
|
params: any
|
|
}) {
|
|
return (
|
|
<div>
|
|
<OrgProvider orgslug={params.orgslug}>
|
|
<Toast />
|
|
{children}
|
|
</OrgProvider>
|
|
</div>
|
|
)
|
|
}
|