dominant-strategies / quaipay

Other
7 stars 5 forks source link

fix: paste of mnemonic on recover flow #247

Closed juanmanso closed 1 year ago

juanmanso commented 1 year ago

Description

The issue was that after pasting it, the seedphrase variable was updating async async and the validation was not using the full value.

Now, the new value is calculated outside the seed phrase state setter and used for both setters separately.

Related links

Proof

Before After