Current Behavior
When a user clicks the Deposit BREAD button for the current round:
If they have insufficient (or zero) BREAD in their wallet, the Privy interaction modal appears immediately.
Desired Behavior
We want to provide a better user experience by showing a clear, user-friendly modal before triggering any Privy flow.
Expected flow:
- User clicks Deposit BREAD.
- If the user’s BREAD balance is insufficient for the intended deposit:
- Show a custom modal with a clear message, e.g.: "You don’t have enough BREAD in your wallet to complete this deposit."
- The modal should include a prominent “Fund Wallet” (or “Add BREAD”) button.
- Clicking this button should trigger the appropriate wallet funding flow (e.g., open Privy’s funding options, swap interface, or direct wallet connection prompt).

Current Behavior
When a user clicks the Deposit BREAD button for the current round:
If they have insufficient (or zero) BREAD in their wallet, the Privy interaction modal appears immediately.
Desired Behavior
We want to provide a better user experience by showing a clear, user-friendly modal before triggering any Privy flow.
Expected flow: