diff --git a/src/hooks/useNotificationTypes.tsx b/src/hooks/useNotificationTypes.tsx index 4f1063c39..bc042e885 100644 --- a/src/hooks/useNotificationTypes.tsx +++ b/src/hooks/useNotificationTypes.tsx @@ -214,9 +214,10 @@ export const notificationTypes: NotificationTypeConfig[] = [ const icon = ; const transferType = - type ?? fromChainId === selectedDydxChainId + type ?? + (fromChainId === selectedDydxChainId ? TransferNotificationTypes.Withdrawal - : TransferNotificationTypes.Deposit; + : TransferNotificationTypes.Deposit); const title = stringGetter({ key: {