Skip to content

Commit

Permalink
[NO CHANGELOG][Add Funds Widget] fix back button visibility (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhesgodi authored Oct 22, 2024
1 parent ab2f5a0 commit 01d23ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export function AddFunds({
[allowedTokens, handleTokenChange, isSelected, defaultTokenImage],
);

const shouldShowBackButton = showBackButton ?? !!onBackButtonClick;
const shouldShowBackButton = showBackButton && onBackButtonClick;
const routeInputsReady = !!selectedToken
&& !!fromAddress
&& validateToAmount(selectedAmount).isValid
Expand Down

0 comments on commit 01d23ab

Please sign in to comment.