diff --git a/wormhole-connect/src/views/Bridge/RouteOptions.tsx b/wormhole-connect/src/views/Bridge/RouteOptions.tsx index 501de0815..dd97a9d7e 100644 --- a/wormhole-connect/src/views/Bridge/RouteOptions.tsx +++ b/wormhole-connect/src/views/Bridge/RouteOptions.tsx @@ -300,7 +300,7 @@ function RouteOption(props: { return REASON_AMOUNT_TOO_LOW; } }, [manualAddressTarget, props]); - + const Icon = useCallback(() => props.route.icon(), [props]); return ( fromTokenConfig && toTokenConfig && ( @@ -341,7 +341,7 @@ function RouteOption(props: { /> } text={props.route.routePath || props.route.providedBy} />