aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/notifications/Notification.tsx1
-rw-r--r--src/types/types.ts4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx
index 8143e396..8e008cf9 100644
--- a/src/components/notifications/Notification.tsx
+++ b/src/components/notifications/Notification.tsx
@@ -91,6 +91,7 @@ const Notification: React.FC<NotificationProps> = (props) => {
const onNotificationTap = async () => {
switch (notification_type) {
+ case 'INVT_ONBRD':
case 'FRD_ACPT':
case 'FRD_REQ':
if (!userXInStore(state, screenType, id)) {
diff --git a/src/types/types.ts b/src/types/types.ts
index 86f16f05..766bf798 100644
--- a/src/types/types.ts
+++ b/src/types/types.ts
@@ -246,7 +246,9 @@ export type TypeOfNotification =
// notification_object is MomentType
| 'MOM_3+'
// notification_object is MomentType
- | 'MOM_FRIEND';
+ | 'MOM_FRIEND'
+ // notification_object is undefined
+ | 'INVT_ONBRD';
export type UniversityBadge = {
id: number;