tasko/app/(platform)/layout.tsx

20 lines
501 B
TypeScript
Raw Normal View History

2024-02-16 01:49:19 +00:00
import { Toaster } from 'sonner';
import { ClerkProvider } from '@clerk/nextjs';
2024-02-15 02:30:10 +00:00
2024-02-16 01:49:19 +00:00
import { ModalProvider } from '@/components/providers/modal-provider';
import { QueryProvider } from '@/components/providers/query-provider';
2024-02-15 02:30:10 +00:00
const PlatformLayout = ({ children }: { children: React.ReactNode }) => {
return (
<ClerkProvider>
<QueryProvider>
<Toaster />
<ModalProvider />
{children}
</QueryProvider>
</ClerkProvider>
);
};
export default PlatformLayout;