We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e5a5a commit 0f89968Copy full SHA for 0f89968
docs/components/AuthNavButton.tsx
@@ -49,16 +49,16 @@ export const UserImage = ({ user }: UserImageProps) => {
49
};
50
51
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
- };
+ const session = authClient.useSession();
+ // const session = {
+ // data: {
+ // planType: "free",
+ // user: {
+ // name: "You",
+ // image: undefined,
+ // },
+ // };
62
const pathname = usePathname();
63
64
if (!session.data) {
0 commit comments