Skip to content

Commit

Permalink
fix: resolve pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vetalcore committed Dec 6, 2024
1 parent a32cbd4 commit a8eabd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nami/src/ui/app/pages/send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ const Send = ({
);

useEffect(() => {
if (!lockedStakeRewards) return;

setShowSwitchToLaceBannerDebounced(reachedMaxAdaAmount);
setShowSwitchToLaceBannerDebounced(
!!lockedStakeRewards && reachedMaxAdaAmount,
);
}, [lockedStakeRewards, reachedMaxAdaAmount]);

return (
Expand Down

0 comments on commit a8eabd2

Please sign in to comment.