mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 09:03:36 +00:00
19 lines
501 B
TypeScript
19 lines
501 B
TypeScript
import { Toaster } from 'sonner';
|
|
import { ClerkProvider } from '@clerk/nextjs';
|
|
|
|
import { ModalProvider } from '@/components/providers/modal-provider';
|
|
import { QueryProvider } from '@/components/providers/query-provider';
|
|
|
|
const PlatformLayout = ({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<ClerkProvider>
|
|
<QueryProvider>
|
|
<Toaster />
|
|
<ModalProvider />
|
|
{children}
|
|
</QueryProvider>
|
|
</ClerkProvider>
|
|
);
|
|
};
|
|
|
|
export default PlatformLayout;
|