mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 12:43:24 +00:00
Updated to Clerk Core v2
This commit is contained in:
parent
c8afb179b0
commit
45e5628713
27 changed files with 682 additions and 625 deletions
|
@ -1,10 +1,13 @@
|
|||
import { Toaster } from 'sonner';
|
||||
import { auth } from '@clerk/nextjs/server';
|
||||
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 }) => {
|
||||
auth().protect();
|
||||
|
||||
return (
|
||||
<ClerkProvider>
|
||||
<QueryProvider>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue