aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-02-02 18:27:24 -0500
committerIvan Chen <ivan@tagg.id>2021-02-02 18:27:24 -0500
commitb24c549932fa4091d99b261c1b3e9e8460d77dc4 (patch)
treeff3c8694ccf1766f5bab3b80345496ab2da3650a /src
parentddaf0797be48876eade913d2b9b5c1357ce6bc5e (diff)
fixed thumbnail issue
Diffstat (limited to 'src')
-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 (