Skip to content

Commit

Permalink
fix routing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniewong2 committed Apr 26, 2024
1 parent 0cf45cb commit bdd0948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/(BottomTabNavigation)/AllCases/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function CasesScreen() {

notificationListener.current =
Notifications.addNotificationReceivedListener(notification => {
const updateId = notification.request.content.data['id'];
const updateId = notification.request.content.data.updateId;
const debugString =
'NotificationRecieved: ' +
notification +
Expand All @@ -103,7 +103,7 @@ function CasesScreen() {

responseListener.current =
Notifications.addNotificationResponseReceivedListener(response => {
const updateId = response.notification.request.content.data['id'];
const updateId = response.notification.request.content.data.updateId;
const debugString =
'NotificationResponseRecieved: ' +
response +
Expand Down Expand Up @@ -140,7 +140,7 @@ function CasesScreen() {
ListHeaderComponent={() => (
<>
<View style={styles.headerContainer}>
<Text>{notificationResponse}</Text>
{/* <Text>{notificationResponse}</Text> */}
<Text style={styles.titleText}>My Cases</Text>
</View>
</>
Expand Down

0 comments on commit bdd0948

Please sign in to comment.