diff --git a/src/components/topnav.tsx b/src/components/topnav.tsx index 6fb514e..29c4897 100644 --- a/src/components/topnav.tsx +++ b/src/components/topnav.tsx @@ -43,6 +43,7 @@ function UserSettings() { src={user.imageUrl} width={32} height={32} + priority={true} alt="Avatar" className="mt-1 overflow-hidden rounded-full" /> @@ -73,8 +74,8 @@ function UserSettings() { Cancel { - signOut(); + onClick={async () => { + await signOut(); }} > Continue