• Zach Pomerantz's avatar
    perf(swap): initialize swap inputs from url (#2402) · 8de6bb6d
    Zach Pomerantz authored
    * fix(swap): use undefined as initial currencyId state
    
    Null should be used for a selection state, not an unknown state. undefined may signify that a currency was passed in the URL but not yet parsed.
    
    * perf(swap): initialize swap with url
    
    Initializes SwapState with URL parameters so that currency input may be rendered on the first frame.
    
    * test(swap): update hooks tests
    
    * test: fix casing
    
    * fix: check nullish to allow eg 0
    8de6bb6d
Name
Last commit
Last update
..
application Loading commit data...
burn Loading commit data...
claim Loading commit data...
data Loading commit data...
global Loading commit data...
governance Loading commit data...
lists Loading commit data...
logs Loading commit data...
mint Loading commit data...
multicall Loading commit data...
routing Loading commit data...
stake Loading commit data...
swap Loading commit data...
transactions Loading commit data...
user Loading commit data...
wallet Loading commit data...
hooks.ts Loading commit data...
index.ts Loading commit data...