You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
442 B
22 lines
442 B
import { Toaster } from "@/components/(dashboard)/ui/toaster"
|
|
import AppContextProvider from "@/helpers/context/AppContextProvider"
|
|
import { Suspense } from "react"
|
|
|
|
const RootLayout :React.FC<{
|
|
children :React.ReactNode
|
|
}> = ({
|
|
children
|
|
}) => {
|
|
return(
|
|
<>
|
|
<Suspense>
|
|
<AppContextProvider>
|
|
{children}
|
|
</AppContextProvider>
|
|
<Toaster />
|
|
</Suspense>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default RootLayout |