Skip to content

Commit

Permalink
Fix max invite point
Browse files Browse the repository at this point in the history
  • Loading branch information
saltict committed Jul 26, 2024
1 parent 23d480b commit ad692c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/extension-koni-ui/src/Popup/Home/Invite/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ const Component = ({ className }: Props): React.ReactElement => {
return 0;
}

const rank = account.attributes?.rank || 'iron';

return rankPointMap[rank] || 0;
return rankPointMap.iron || 0;
}, [account]);

const inviteURL = useMemo(() => {
Expand Down

0 comments on commit ad692c1

Please sign in to comment.