Skip to content

Commit 0f89968

Browse files
authored
fix auth button (#2381)
1 parent 38e5a5a commit 0f89968

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/components/AuthNavButton.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ export const UserImage = ({ user }: UserImageProps) => {
4949
};
5050

5151
export function AuthNavButton() {
52-
// const session = authClient.useSession();
53-
const session = {
54-
data: {
55-
planType: "free",
56-
user: {
57-
name: "You",
58-
image: undefined,
59-
},
60-
},
61-
};
52+
const session = authClient.useSession();
53+
// const session = {
54+
// data: {
55+
// planType: "free",
56+
// user: {
57+
// name: "You",
58+
// image: undefined,
59+
// },
60+
// },
61+
// };
6262
const pathname = usePathname();
6363

6464
if (!session.data) {

0 commit comments

Comments
 (0)