mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-06 13:43:08 +00:00
Upgrade Clerk, Next.js, and React to latest versions + minor code changes
This commit is contained in:
parent
a63270db0c
commit
a89c9a9b02
31 changed files with 140 additions and 130 deletions
|
@ -4,8 +4,8 @@ import { auth } from '@clerk/nextjs/server';
|
|||
import { Logo } from '@/components/logo';
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
||||
export const Navbar = () => {
|
||||
const { userId } = auth();
|
||||
export const Navbar = async () => {
|
||||
const { userId } = await auth();
|
||||
|
||||
let isSignedIn = !!userId;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue