Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yushih committed Feb 10, 2025
1 parent 40d9189 commit d74c676
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default class NavBarContainerRevamp extends Component<{| ...StoresProps,
buyButton={
<BuySellAdaButton
onBuySellClick={() => {
if (stores.router.location.pathname.startsWith(ROUTES.WALLETS)) {
if (stores.router.location.pathname.startsWith(ROUTES.WALLETS.ROOT)) {
ampli.walletPageExchangeClicked();
}
this.props.stores.uiDialogs.open({ dialog: BuySellDialog });
Expand Down

0 comments on commit d74c676

Please sign in to comment.