wban-dApp
wban-dApp copied to clipboard
Fix for issue 125, unable to reconnect to bridge
Fixes Issue 125, which meant unable to reconnect to bridge if localstorage.onboard.js:last_connected_wallet
was set to an empty array. Reading it in those cases resulted in it being parsed as a string, so previouslyConnected[0]
was '['
.
Fix tested in Desktop Browser, Metamask mobile not tested.
Related issue: https://github.com/wBanano/wban-dApp/issues/125