about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThread.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/post-thread/PostThread.tsx
parent5fd41ad5a2734e1721a82134efe5487e818b790d (diff)
downloadvoidsky-df0dcf32f99631c52b039c7f1934481924d37465.tar.zst
Fix immediate TS errors
Diffstat (limited to 'src/view/com/post-thread/PostThread.tsx')
-rw-r--r--src/view/com/post-thread/PostThread.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx
index 378ef5028..b0728a8a6 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -119,7 +119,7 @@ export const PostThread = observer(function PostThread({
     try {
       view?.refresh()
     } catch (err) {
-      view.rootStore.log.error('Failed to refresh posts thread', err)
+      view.rootStore.log.error('Failed to refresh posts thread', {error: err})
     }
     setIsRefreshing(false)
   }, [view, setIsRefreshing])