diff --git a/src/ui/views/Bridge/Component/BridgeContent.tsx b/src/ui/views/Bridge/Component/BridgeContent.tsx index fe41fcc2bed..f3bbf141bb5 100644 --- a/src/ui/views/Bridge/Component/BridgeContent.tsx +++ b/src/ui/views/Bridge/Component/BridgeContent.tsx @@ -374,6 +374,7 @@ export const BridgeContent = () => { value={amount} onInputChange={handleAmountChange} excludeChains={toChain ? [toChain] : undefined} + inSufficient={inSufficient} /> { 'rounded-tl-[4px] rounded-br-[4px] px-[6px] py-[1px]', 'text-12 font-medium', props.isBestQuote - ? 'text-r-green-default bg-r-green-light' + ? 'text-r-blue-default bg-light-r-blue-light2' : 'text-r-red-default bg-r-red-light' )} > diff --git a/src/ui/views/Bridge/Component/BridgeToken.tsx b/src/ui/views/Bridge/Component/BridgeToken.tsx index d01179ef9bd..3b82471baf2 100644 --- a/src/ui/views/Bridge/Component/BridgeToken.tsx +++ b/src/ui/views/Bridge/Component/BridgeToken.tsx @@ -70,6 +70,7 @@ export const BridgeToken = ({ fromChainId, fromTokenId, noQuote, + inSufficient, }: { type?: 'from' | 'to'; token?: TokenItem; @@ -80,6 +81,7 @@ export const BridgeToken = ({ onChangeChain: (chain: CHAINS_ENUM) => void; value?: string | number; onInputChange?: (v: string) => void; + inSufficient?: boolean; valueLoading?: boolean; fromChainId?: string; @@ -238,6 +240,7 @@ export const BridgeToken = ({ /> ) : (