1
0
Fork 0
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:
grafixeyehero 2024-06-02 21:02:22 +03:00
parent be891c3a98
commit ac42b3a203
10 changed files with 60 additions and 232 deletions

View file

@ -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,