feat(ui): refine club, packs, and download flows

This commit is contained in:
Jacques TIROT
2026-03-11 11:54:10 +01:00
parent af8a8bafa4
commit fd299e8543
12 changed files with 565 additions and 598 deletions
+4 -4
View File
@@ -122,7 +122,7 @@ export default ({
const handleCoinPress = React.useCallback(() => {
if (!showCoinBadge) return
setCoinModalVisible(true)
navigate(Routes.Payments)
}, [showCoinBadge])
const handleCloseCoinModal = React.useCallback(() => {
@@ -144,10 +144,10 @@ export default ({
}, [showCoinBadge, isCoinModalVisible])
React.useEffect(() => {
if (!showCoinBadge) {
return undefined
}
const unsubscribe = subscribeCoinPackModal(() => {
if (!showCoinBadge) {
return
}
setCoinModalVisible(true)
})
return unsubscribe