diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-02 18:27:24 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-02 18:27:24 -0500 |
commit | b24c549932fa4091d99b261c1b3e9e8460d77dc4 (patch) | |
tree | ff3c8694ccf1766f5bab3b80345496ab2da3650a /src/components/notifications | |
parent | ddaf0797be48876eade913d2b9b5c1357ce6bc5e (diff) |
fixed thumbnail issue
Diffstat (limited to 'src/components/notifications')
-rw-r--r-- | src/components/notifications/Notification.tsx | 4 |
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 ( |