Fix error when `fetchParams` is null (#9757)
If the swaps state is cleared in between the initial quote fetch and the subsequent poll fetch, a `TypeError` will be thrown due to `fetchParams` being set to `null`. This is of no functional consequence, as `fetchParams` _should_ be `null` in this case, and and no further action should be taken. The optional chaining operator is now used to ensure the call no longer throws.feature/default_network_editable
parent
14161e37da
commit
4086f7b4d6
Loading…
Reference in new issue