Skip to content

Commit

Permalink
hide banner error if fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Jun 9, 2023
1 parent 16f0aaf commit 2184f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/CrossChain/SwapForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export default function SwapForm() {

{!!priceImpact && <PriceImpactNote priceImpact={Number(priceImpact)} isDegenMode={isDegenMode} />}

{inputError?.state && (
{inputError?.state && !gettingRoute && (
<ErrorWarningPanel title={inputError?.tip} type={inputError?.state} desc={inputError?.desc} />
)}

Expand Down

0 comments on commit 2184f77

Please sign in to comment.