mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-08 13:41:38 +00:00
fix type errors
This commit is contained in:
parent
bc42329d27
commit
8dbaec3943
8 changed files with 53 additions and 41 deletions
|
|
@ -129,12 +129,13 @@ export const AlbumListGridView = ({ gridRef, itemCount }: any) => {
|
|||
|
||||
const queryKey = queryKeys.albums.list(server?.id || '', query, id);
|
||||
|
||||
const queriesFromCache: [QueryKey, AlbumListResponse][] = queryClient.getQueriesData({
|
||||
exact: false,
|
||||
fetchStatus: 'idle',
|
||||
queryKey,
|
||||
stale: false,
|
||||
});
|
||||
const queriesFromCache: [QueryKey, AlbumListResponse | undefined][] =
|
||||
queryClient.getQueriesData({
|
||||
exact: false,
|
||||
fetchStatus: 'idle',
|
||||
queryKey,
|
||||
stale: false,
|
||||
});
|
||||
|
||||
const itemData: Album[] = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue