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-15 19:23:59 -0600
committerGitHub <noreply@github.com>2023-11-15 17:23:59 -0800
commit8857ba70c667d6c264f57c2547f175e106c650c6 (patch)
tree4e93ae10116dcf15e0b6a8ebe9df06387ade8898 /src/view/com/post-thread/PostThread.tsx
parentd8b26edb561026a554357b985de394649157b308 (diff)
downloadvoidsky-8857ba70c667d6c264f57c2547f175e106c650c6.tar.zst
Improve types (#1921)
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 b0e6f1a31..b5347fc84 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -296,7 +296,7 @@ function PostThreadLoaded({
             post={item.post}
             record={item.record}
             dataUpdatedAt={dataUpdatedAt}
-            treeView={threadViewPrefs.lab_treeViewEnabled}
+            treeView={threadViewPrefs.lab_treeViewEnabled || false}
             depth={item.ctx.depth}
             isHighlightedPost={item.ctx.isHighlightedPost}
             hasMore={item.ctx.hasMore}