trezor / trezor-suite

:candy: Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
650 stars 239 forks source link

fix(mobile): wrong graph after device switch and then refetch #12469

Closed Nodonisko closed 2 weeks ago

Nodonisko commented 2 weeks ago

Description

useImperativeHandle is tricky, there was issue with memoization in one of then so I found way how to remove it and only pass ref through which solved that.

Related Issue

Resolve #11231

Screenshots: