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,10 +1,9 @@
|
|||
import { useQuery } from '@tanstack/react-query';
|
||||
import { queryOptions, useQuery } from '@tanstack/react-query';
|
||||
import type { Api } from '@jellyfin/sdk';
|
||||
import { getSystemApi } from '@jellyfin/sdk/lib/utils/api/system-api';
|
||||
import type { AxiosRequestConfig } from 'axios';
|
||||
|
||||
import { useApi } from './useApi';
|
||||
import { queryOptions } from 'utils/query/queryOptions';
|
||||
|
||||
const fetchSystemInfo = async (
|
||||
api?: Api,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue