We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fe22ef commit 5f5ed02Copy full SHA for 5f5ed02
components/FortuneTigerBetCard.tsx
@@ -268,7 +268,8 @@ export default function FortuneTigerBetCard({
268
}
269
270
// If connected but no balance available yet (need authorization)
271
- if (balance === 0n) {
+ // Only show auth popup if BOTH wallet and contract balance are 0
272
+ if (balance === 0n && contractBalance === 0n) {
273
setShowAuthPopup(true);
274
return;
275
0 commit comments