Skip to content

Commit

Permalink
feat(BurnCapital): update visibility of useShowCart function in BurnS…
Browse files Browse the repository at this point in the history
…ideCart component
  • Loading branch information
omniwired committed Apr 29, 2024
1 parent 2e372ac commit 373ec57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/screens/BurnCapital/components/BurnSideCart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export const BurnSideCart: React.FC<{ style?: StyleProp<ViewStyle> }> = ({
) : null;
};

export const useShowCart = () => {
const useShowCart = () => {
const selected = useSelector(selectSelectedNFTIds);
return useSelector(selectShowCart) && selected.length > 0;
};

0 comments on commit 373ec57

Please sign in to comment.