From b24c549932fa4091d99b261c1b3e9e8460d77dc4 Mon Sep 17 00:00:00 2001
From: Ivan Chen <ivan@tagg.id>
Date: Tue, 2 Feb 2021 18:27:24 -0500
Subject: fixed thumbnail issue

---
 src/components/notifications/Notification.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/notifications/Notification.tsx')

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 (
-- 
cgit v1.2.3-70-g09d2

