We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fbe28a3 + 7022ff3 commit 220b6afCopy full SHA for 220b6af
src/pages/settings/InitialSettingsPage.tsx
@@ -314,6 +314,10 @@ function InitialSettingsPage({currentUserPersonalDetails}: InitialSettingsPagePr
314
const getWalletBalance = (isPaymentItem: boolean): string | undefined => (isPaymentItem ? convertToDisplayString(userWallet?.currentBalance) : undefined);
315
316
const openPopover = (link: string | (() => Promise<string>) | undefined, event: GestureResponderEvent | MouseEvent) => {
317
+ if (!Navigation.getActiveRoute().includes(ROUTES.SETTINGS)) {
318
+ return;
319
+ }
320
+
321
if (typeof link === 'function') {
322
link?.()?.then((url) =>
323
showContextMenu({
0 commit comments