mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-01 03:09:34 +00:00
Fixed Infinate Redirect When trying to Login or Signup
This commit is contained in:
parent
525e9311e0
commit
fd40614b93
5 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,10 @@
|
|||
import { auth } from '@clerk/nextjs/server';
|
||||
|
||||
import { Navbar } from './_components/Navbar';
|
||||
|
||||
const DashbordLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
auth().protect();
|
||||
|
||||
return (
|
||||
<div className='h-full'>
|
||||
<Navbar />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue