From 1db76e4b46386857ac10e736ed535f8ebceac1c0 Mon Sep 17 00:00:00 2001 From: adrienne-rio Date: Fri, 3 May 2024 15:20:00 +0800 Subject: [PATCH] chore: fix notifications misalign in cashier wallets --- .../NotificationsDialog/notification-list-wrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/App/Containers/NotificationsDialog/notification-list-wrapper.tsx b/packages/core/src/App/Containers/NotificationsDialog/notification-list-wrapper.tsx index 932882bb338f..63b25501e89b 100644 --- a/packages/core/src/App/Containers/NotificationsDialog/notification-list-wrapper.tsx +++ b/packages/core/src/App/Containers/NotificationsDialog/notification-list-wrapper.tsx @@ -17,7 +17,7 @@ const NotificationListWrapperForwardRef = React.forwardRef( const { is_mobile } = ui; const traders_hub = window.location.pathname === routes.traders_hub; - const wallets_path = window.location.pathname === routes.wallets; + const wallets_path = window.location.pathname.startsWith(routes.wallets); return (