aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/notifications/Notification.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx
index 4258e288..6ee04108 100644
--- a/src/components/notifications/Notification.tsx
+++ b/src/components/notifications/Notification.tsx
@@ -61,7 +61,7 @@ const Notification: React.FC<NotificationProps> = (props) => {
if (response) {
setAvatar(response);
} else {
- setAvatar('');
+ setAvatar(undefined);
}
})();
}, []);
@@ -84,7 +84,7 @@ const Notification: React.FC<NotificationProps> = (props) => {
setMomentURI(response);
} else {
// if not set to empty, it will re-use the previous notification's state
- setMomentURI('');
+ setMomentURI(undefined);
}
};
if (