Skip to content

Commit

Permalink
fix: swap icon
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis committed Oct 16, 2024
1 parent 7904d83 commit cfb77e5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
4 changes: 0 additions & 4 deletions packages/lib/modules/swap/SwapProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -472,10 +472,6 @@ export function _useSwap({ urlTxHash, ...pathParams }: PathParams) {
setInitialTokenOut(tokenOut)
setInitialAmounts(amountIn, amountOut)

if (isPoolSwap) {
setTokens(pathParams.poolTokens!)
}

if (!swapState.tokenIn.address && !swapState.tokenOut.address) setDefaultTokens()
}, [])

Expand Down
26 changes: 13 additions & 13 deletions packages/lib/shared/components/icons/SwapIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@ export function SwapIcon({ size = 24 }: { size?: number }) {
width={size}
height={size}
>
<g clip-path="url(#clip0_1_5255)">
<g clipPath="url(#clip0_1_5255)">
<path
d="M3.5 17.499H8.5L10.17 15.113M13.83 9.88602L15.5 7.49902H21.5"
stroke="#A0AEC0"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M18.5 4.49902L21.5 7.49902L18.5 10.499"
stroke="#A0AEC0"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M3.5 7.49902H8.5L15.5 17.499H21.5"
stroke="#A0AEC0"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M18.5 20.501L21.5 17.501L18.5 14.501"
stroke="#A0AEC0"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</g>
<defs>
Expand Down

0 comments on commit cfb77e5

Please sign in to comment.