mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update tanstack query to v5
This commit is contained in:
parent
be891c3a98
commit
ac42b3a203
10 changed files with 60 additions and 232 deletions
|
@ -1,11 +1,9 @@
|
|||
import type { Api } from '@jellyfin/sdk/lib/api';
|
||||
import type { UserViewsApiGetUserViewsRequest } from '@jellyfin/sdk/lib/generated-client/api/user-views-api';
|
||||
import { getUserViewsApi } from '@jellyfin/sdk/lib/utils/api/user-views-api';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import { queryOptions, useQuery } from '@tanstack/react-query';
|
||||
import type { AxiosRequestConfig } from 'axios';
|
||||
|
||||
import { queryOptions } from 'utils/query/queryOptions';
|
||||
|
||||
import { useApi } from './useApi';
|
||||
|
||||
const fetchUserViews = async (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue