• Tina's avatar
    chore: Refactor swap request flow (#6499) · 8431ad91
    Tina authored
    * Refactor swap quote flow with widget logic
    
    * remove console logging
    
    * add ignore path for serialization check and pass in native currencies for client side routing
    
    * apply stashed changes
    
    * revert node version change
    
    * remove TODO comment because maybe no longer relevant
    
    * update unit tests
    
    * wip: add snapshot test
    
    * add snapshot test for gas estimate badge
    
    * address PR comments: rename variables, fix client side router initialization
    
    * update Trade type
    
    * add TODO comment about isExactInput util
    
    * change | undefined convention to ?
    
    * PR comments
    
    * update type
    
    * remove client side initialization logic and replace with TODO
    
    * use routing-api for price fetching trades too
    
    * remove QuoteType.Initialized
    8431ad91
SwapDetailsDropdown.test.tsx 1.42 KB