Skip to content

Commit

Permalink
fix user type typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GodYazza committed Sep 18, 2024
1 parent ceaf725 commit cc99a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/pages/General/ProfileSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function ProfileSwitcher() {
const location = useLocation();

// Type the useSelector result using RootState
const userType = useSelector((state: RootState) => state.user.userType);
const userType = useSelector((state: RootState) => state.user.UserType);

if (!userType) {
// Handle undefined userType (user not logged in or authentication not yet determined)
Expand Down

0 comments on commit cc99a28

Please sign in to comment.