Skip to content

Commit

Permalink
Add badgeholderType and fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahdigh committed Oct 31, 2024
1 parent 376103b commit fc348ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/getBadges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type BadgeData = {
holderType?: MedalTypes
delegateType?: MedalTypes
worldCoinVerified?: boolean
badgeholderType?: 'Guest' | 'Citizen'
};

export const getBadgeMedal = (
Expand Down
1 change: 1 addition & 0 deletions app/utils/wallet/modals/NotBhModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const BadgeHolderModal: React.FC<BhModalProps> = (
holderType,
delegateType,
worldCoinVerified,
badgeholderType,
...rest
}: BadgeData = badges;
const badgePoints = { ...rest };
Expand Down

0 comments on commit fc348ff

Please sign in to comment.