Skip to content

Commit 4a628bf

Browse files
author
joeldevelops
committed
further debugging
1 parent 655a6f5 commit 4a628bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/app/src/components/AccountMenu.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export default function AccountMenu() {
2424
// Get user data
2525
const userData: string | null = localStorage.getItem('user');
2626
console.log(userData);
27-
if (userData) {
27+
if (userData !== null) {
28+
console.log("Here")
2829
setUser(JSON.parse(userData));
2930
setAvatar(user.avatar);
3031
setName(user.name);

0 commit comments

Comments
 (0)