about summary refs log tree commit diff
path: root/src/screens/Hashtag.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-03-19 12:10:10 -0700
committerGitHub <noreply@github.com>2024-03-19 12:10:10 -0700
commitaddd66b37f922fda12a99298a37a0166cf509f89 (patch)
tree62d29df837351efc5c41ce80f6180c952167b530 /src/screens/Hashtag.tsx
parent07e6d001a25825bb86ee6e9afcb65abacf9fadc4 (diff)
downloadvoidsky-addd66b37f922fda12a99298a37a0166cf509f89.tar.zst
`PostThread` cleanup (#3183)
* cleanup PostThread

rm some more unnecessary code

cleanup some more pieces

fix `isLoading` logic

few fixes

organize

refactor `PostThread`

allow chaining of `postThreadQuery`

Update `Hashtag` screen with the component changes

Make some changes to the List components

adjust height and padding of bottom loader to account for bottom bar

* rm unnecessary chaining logic

* maxReplies logic

* adjust error logic

* use `<` instead of `<=`

* add back warning comment

* remove unused prop

* adjust order

* update prop name

* don't show error if `isLoading`
Diffstat (limited to 'src/screens/Hashtag.tsx')
-rw-r--r--src/screens/Hashtag.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/Hashtag.tsx b/src/screens/Hashtag.tsx
index 776cc585e..46452f087 100644
--- a/src/screens/Hashtag.tsx
+++ b/src/screens/Hashtag.tsx
@@ -128,8 +128,8 @@ export default function HashtagScreen({
         isError={isError}
         isEmpty={posts.length < 1}
         onRetry={refetch}
-        notFoundType="results"
-        empty={_(msg`We couldn't find any results for that hashtag.`)}
+        emptyTitle="results"
+        emptyMessage={_(msg`We couldn't find any results for that hashtag.`)}
       />
       {!isLoading && posts.length > 0 && (
         <List<PostView>