Skip to content

Commit

Permalink
chore: remove unnecessary null check
Browse files Browse the repository at this point in the history
  • Loading branch information
bfullam committed Dec 19, 2024
1 parent 7e0d17c commit cc56cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/pages/bridge/prepare/prepare-bridge-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ const PrepareBridgePage = () => {
if (quoteSrcToken && quoteDestToken && quoteDestChainId) {
// Set inputs to values from active quote
dispatch(
setFromToken({ ...quoteSrcToken, image: quoteSrcToken?.iconUrl }),
setFromToken({ ...quoteSrcToken, image: quoteSrcToken.iconUrl }),
);
dispatch(setToChainId(quoteDestChainId));
dispatch(
setToToken({ ...quoteDestToken, image: quoteDestToken?.iconUrl }),
setToToken({ ...quoteDestToken, image: quoteDestToken.iconUrl }),
);
}
} else {
Expand Down

0 comments on commit cc56cad

Please sign in to comment.