marigold-dev / tzsafe-ui

TzSafe-UI frontend — to interact with multi-signatures wallets.
https://www.marigold.dev/tzsafe
10 stars 2 forks source link

state: do not overwrite currentContract #179

Closed Pilou97 closed 6 months ago

Pilou97 commented 6 months ago

When the currentContract is already set we should not overwrite it

How to reproduce the bug:

What is happening is that the login action overwrite currentContracts. When the user has not yet import contracts the value is set to null, even if the user was looking to a safe