about summary refs log tree commit diff
path: root/src/view/com/notifications/Feed.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-04 12:42:27 -0500
committerEric Bailey <git@esb.lol>2023-11-04 12:42:27 -0500
commitdf0dcf32f99631c52b039c7f1934481924d37465 (patch)
treef190c6e24744b01be9a98c4a9e25282bf050a178 /src/view/com/notifications/Feed.tsx
parent5fd41ad5a2734e1721a82134efe5487e818b790d (diff)
downloadvoidsky-df0dcf32f99631c52b039c7f1934481924d37465.tar.zst
Fix immediate TS errors
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r--src/view/com/notifications/Feed.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx
index 4ca22282d..ef16f598c 100644
--- a/src/view/com/notifications/Feed.tsx
+++ b/src/view/com/notifications/Feed.tsx
@@ -61,7 +61,9 @@ export const Feed = observer(function Feed({
       setIsPTRing(true)
       await view.refresh()
     } catch (err) {
-      view.rootStore.log.error('Failed to refresh notifications feed', err)
+      view.rootStore.log.error('Failed to refresh notifications feed', {
+        error: err,
+      })
     } finally {
       setIsPTRing(false)
     }
@@ -71,7 +73,9 @@ export const Feed = observer(function Feed({
     try {
       await view.loadMore()
     } catch (err) {
-      view.rootStore.log.error('Failed to load more notifications', err)
+      view.rootStore.log.error('Failed to load more notifications', {
+        error: err,
+      })
     }
   }, [view])