Skip to content

Commit

Permalink
does this fix the home page?
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Aug 20, 2024
1 parent 9592d9a commit 51aa2cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/user-info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function UserInfo(props = {}) {

setUserProfile(await userData);
}
if (userProfile && userProfile.steamid !== userId) {
if (!userProfile || userProfile.steamid !== userId) {
fetchData();
}
}, [userId]);
Expand Down

0 comments on commit 51aa2cc

Please sign in to comment.