Skip to content

Commit

Permalink
this way instead
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Oct 15, 2024
1 parent 221f963 commit 4f99632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/userLookup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const LookupMenu: React.FC<LookupMenuProps> = (
updateUser({ userCkey: value });
return;
}
if (potentialUser && (!userData || user != potentialUser)) {
if (potentialUser && (!userData || userData.ckey != potentialUser)) {
updateUser({ userCkey: potentialUser as string });
}
}, [value, userData, discordId, updateUser, potentialUser, user]);
Expand Down

0 comments on commit 4f99632

Please sign in to comment.