diff --git a/src/routes/post/[instance]/[id=integer]/+page.ts b/src/routes/post/[instance]/[id=integer]/+page.ts index 9becf426..c3dbf91f 100644 --- a/src/routes/post/[instance]/[id=integer]/+page.ts +++ b/src/routes/post/[instance]/[id=integer]/+page.ts @@ -59,7 +59,7 @@ function findInFeed( i => i.post.id == postId, ) - if (index ?? -1 == -1) return + if ((index ?? -1) == -1) return return { post_view: postFeeds.value[feedId]?.data.posts.posts[index],