diff --git a/wormhole-connect/src/AppRouter.tsx b/wormhole-connect/src/AppRouter.tsx index 96d455bae..50a8a6480 100644 --- a/wormhole-connect/src/AppRouter.tsx +++ b/wormhole-connect/src/AppRouter.tsx @@ -16,7 +16,6 @@ import Terms from './views/Terms'; import TxSearch from './views/TxSearch'; import { setRoute } from './store/router'; import { clearWallets } from './store/wallet'; -import { clearPorticoBridge } from 'store/porticoBridge'; import { useExternalSearch } from 'hooks/useExternalSearch'; import BridgeV2 from 'views/v2/Bridge'; @@ -80,9 +79,9 @@ function AppRouter(props: Props) { config.whLegacy.registerProviders(); // reset providers that may have been set during transfer } // reset transfer state on leave - if (route === bridgeRoute && prevRoute !== bridgeRoute) { + const isEnteringBridge = route === bridgeRoute && prevRoute !== bridgeRoute; + if (isEnteringBridge && prevRoute !== 'history') { dispatch(clearTransfer()); - dispatch(clearPorticoBridge()); } }, [route, prevRoute, dispatch]); diff --git a/wormhole-connect/src/icons/Tokens/ETH.tsx b/wormhole-connect/src/icons/Tokens/ETH.tsx index 4d908a33d..6950779bb 100644 --- a/wormhole-connect/src/icons/Tokens/ETH.tsx +++ b/wormhole-connect/src/icons/Tokens/ETH.tsx @@ -15,37 +15,37 @@ function ETH() { d="M90.9,181v-45.2l-55.9-32.7,55.9,77.8Z" fill="#f0cdc2" stroke="#1616b4" - stroke-linejoin="round" + strokeLinejoin="round" /> diff --git a/wormhole-connect/src/store/porticoBridge.ts b/wormhole-connect/src/store/porticoBridge.ts index a5a41d1d4..0603f6ee7 100644 --- a/wormhole-connect/src/store/porticoBridge.ts +++ b/wormhole-connect/src/store/porticoBridge.ts @@ -1,3 +1,4 @@ +// TODO: SDKV2 remove this file import { createSlice, PayloadAction } from '@reduxjs/toolkit'; import { DataWrapper,