Skip to content

Commit

Permalink
Fix empty selection (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
tradermohamed authored Dec 8, 2023
1 parent 2c6e07c commit c392e2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const createCoinSelectors = (
name: 'Deselect All',
event: () => {
setCoinsSelected(emptySelection);
formatData(emptySelection);
},
isChecked: coinsSelected.length === 0,
};
Expand Down

0 comments on commit c392e2b

Please sign in to comment.