mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Move data loading to separate hooks
This commit is contained in:
parent
0e54b11c61
commit
4c757fea77
4 changed files with 81 additions and 55 deletions
|
@ -3,7 +3,6 @@ import type { AxiosRequestConfig } from 'axios';
|
|||
import type { Api } from '@jellyfin/sdk';
|
||||
import { getActivityLogApi } from '@jellyfin/sdk/lib/utils/api/activity-log-api';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
|
||||
import { useApi } from 'hooks/useApi';
|
||||
|
||||
const fetchLogEntries = async (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue