divaprotocol / diva-monorepo

Diva Monorepo
https://diva.finance
4 stars 4 forks source link

[Bug]: Settings are reset in Create process when going back #684

Closed Walodja1987 closed 1 year ago

Walodja1987 commented 1 year ago

Context

Settings such as Your Direction or Offer Expiry in Create Offer are being reset if a user goes back. Also, Payoff type settings are reset but chart is not. Ideally, nothing is reset so the user can rest assured that everything that they have entered remains unchanged while going back and forth. Otherwise it will lead to errors and undesired products being created.

Screenshots / Screen recording

https://www.loom.com/share/2338cfbdc72b4ecd95e956f31628abcd