Răsfoiți Sursa

display pageIdSnapshot

Shun Miyazawa 4 ani în urmă
părinte
comite
f15671ee6c

+ 1 - 1
packages/app/src/components/InAppNotification/InAppNotificationElm.tsx

@@ -71,7 +71,7 @@ const InAppNotificationElm = (props: Props): JSX.Element => {
   const actionUsers = getActionUsers();
   const actionUsers = getActionUsers();
 
 
   // TODO: 82528 Swap target.path and snapshot.path
   // TODO: 82528 Swap target.path and snapshot.path
-  const pagePath = { path: 'test-page' };
+  const pagePath = { path: notification.pageIdSnapshot };
 
 
   const actionType: string = notification.action;
   const actionType: string = notification.action;
   let actionMsg: string;
   let actionMsg: string;