gandlafbtc / nutstash-wallet

Cashu Wallet with multi-mint and send-to-nostr-key functionality
https://v2.nutstash.app
GNU General Public License v3.0
44 stars 10 forks source link

Multiple tabs on the same browser cause indefinite reload #95

Closed Dayvvo closed 1 week ago

Dayvvo commented 6 months ago

Describe the bug When I open the nutstash wallet app on more than one tab in the same browser. Both of them seem to be reloading indefinitely

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://wallet.nutstash.app'
  2. Switch to the mints tab
  3. Add the test mint as your first mint (https://testnut.cashu.space)
  4. Both tabs keep reloading indefinitely

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

gandlafbtc commented 1 week ago

Nutstash makes use of browser storage. There is no feature of synchronizing states across multiple instances, and it is discouraged to use it in more than one tab at a time

In #102 it will instead show a prompt to close the window, if more than one instance is open