Skip to content

Commit

Permalink
refreshing when switching account
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jul 17, 2024
1 parent 6fe55db commit 2a6dbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/discount/freeRegisterCheckout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const FreeRegisterCheckout: FunctionComponent<FreeRegisterCheckoutProps> = ({
useEffect(() => {
if (loadingCoupon || !coupon) return;
refreshRewards();
}, [loadingCoupon, coupon, refreshRewards]);
}, [loadingCoupon, coupon, refreshRewards, address]);

useEffect(() => {
// salt must not be empty to preserve privacy
Expand Down

0 comments on commit 2a6dbd3

Please sign in to comment.