Skip to content

Commit

Permalink
feat/bridge-housekeeping (#1422)
Browse files Browse the repository at this point in the history
* Add isOrigin prop to SelectSpecificNetworkButton components to determine when to display extra tokens

* Propogate props

* Update TokenVisualizer in FromChainList

* ...

* Update chain icons

* Set default fromToken and toToken to null

* Remove default to selections

* Default originToken set to null to set to options to empty

* Resolve failures

* Update formatBigIntToString util function to include trailing 0 before decimal

* set initial default for fromToken to null

* resetBridgeInputs action

* Add reducer for resetBridgeInputs

* Reset bridge inputs on disconnect

* Only set toToken from finite bridge machine if toChainId has been set

---------

Co-authored-by: Jonah Lin <[email protected]>
  • Loading branch information
bigboydiamonds and bigboydiamonds authored Oct 10, 2023
1 parent fa726f4 commit e2ff4fb
Show file tree
Hide file tree
Showing 14 changed files with 163 additions and 88 deletions.
3 changes: 1 addition & 2 deletions packages/synapse-interface/assets/chains/bnb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 9 additions & 10 deletions packages/synapse-interface/assets/chains/boba.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions packages/synapse-interface/assets/chains/canto.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 7 additions & 8 deletions packages/synapse-interface/assets/chains/dfk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 7 additions & 8 deletions packages/synapse-interface/assets/chains/ethereum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e2ff4fb

Please sign in to comment.