Skip to content

Commit 441931d

Browse files
committed
Rewards: replace legacy Question icon cast with design-system IconName.Confirmation to prevent runtime icon failure in RewardsBottomSheetModal
1 parent a201396 commit 441931d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/UI/Rewards/components/RewardsBottomSheetModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const RewardsBottomSheetModal = ({ route }: RewardsBottomSheetModalProps) => {
138138
iconName = IconName.Danger;
139139
break;
140140
case ModalType.Confirmation:
141-
iconName = LegacyIconName.Question as unknown as IconName;
141+
iconName = IconName.Confirmation;
142142
iconStyle = 'text-primary-default';
143143
break;
144144
}

0 commit comments

Comments
 (0)