diff --git a/src/app/(BottomTabNavigation)/AllCases/index.tsx b/src/app/(BottomTabNavigation)/AllCases/index.tsx index f6ed16e2..011260c5 100644 --- a/src/app/(BottomTabNavigation)/AllCases/index.tsx +++ b/src/app/(BottomTabNavigation)/AllCases/index.tsx @@ -89,7 +89,7 @@ function CasesScreen() { responseListener.current = Notifications.addNotificationResponseReceivedListener(response => { const updateId = response.notification.request.content.data.updateId; - const caseId = response.notification.request.content.data.updateId; + const caseId = response.notification.request.content.data.caseId; router.push(`/AllCases/CaseScreen/${caseId}`); router.push(`/AllCases/Updates/${caseId}`); router.push(`/AllCases/Updates/UpdateView/${updateId}`);