Skip to content

Commit

Permalink
[fix] properly pass caseId through notification data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniebeggs committed Jun 6, 2024
1 parent 0305e34 commit 3c670ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(BottomTabNavigation)/AllCases/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 3c670ad

Please sign in to comment.