diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
commit | 1512b5cf68e9e92801a894392569b444fd6af1d1 (patch) | |
tree | f756f3a4405127839e6f31ee46945e0b2cfe954f /src/state/queries/search-posts.ts | |
parent | a3c09f9f862a4b4abe43cbb6d1042369fb1e14ba (diff) | |
download | voidsky-1512b5cf68e9e92801a894392569b444fd6af1d1.tar.zst |
run linter
Diffstat (limited to 'src/state/queries/search-posts.ts')
-rw-r--r-- | src/state/queries/search-posts.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/state/queries/search-posts.ts b/src/state/queries/search-posts.ts index e0b317ca9..58dba5968 100644 --- a/src/state/queries/search-posts.ts +++ b/src/state/queries/search-posts.ts @@ -1,12 +1,13 @@ import {AppBskyFeedDefs, AppBskyFeedSearchPosts} from '@atproto/api' import { - useInfiniteQuery, InfiniteData, - QueryKey, QueryClient, + QueryKey, + useInfiniteQuery, } from '@tanstack/react-query' import {getAgent} from '#/state/session' + import {embedViewRecordToPostView, getEmbeddedPost} from './util' const searchPostsQueryKey = ({query}: {query: string}) => [ |