diff options
author | Eric Bailey <git@esb.lol> | 2023-11-04 12:42:27 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2023-11-04 12:42:27 -0500 |
commit | df0dcf32f99631c52b039c7f1934481924d37465 (patch) | |
tree | f190c6e24744b01be9a98c4a9e25282bf050a178 /src/view/com/notifications/Feed.tsx | |
parent | 5fd41ad5a2734e1721a82134efe5487e818b790d (diff) | |
download | voidsky-df0dcf32f99631c52b039c7f1934481924d37465.tar.zst |
Fix immediate TS errors
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 8 |
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]) |