pl-hooks: do not import from /main
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
c75451efaf
commit
423c9f1fc8
3 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
import { useInfiniteQuery } from '@tanstack/react-query';
|
||||
|
||||
import { importEntities, usePlHooksApiClient, usePlHooksQueryClient } from 'pl-hooks/main';
|
||||
import { usePlHooksApiClient } from 'pl-hooks/contexts/api-client';
|
||||
import { usePlHooksQueryClient } from 'pl-hooks/contexts/query-client';
|
||||
import { importEntities } from 'pl-hooks/importer';
|
||||
|
||||
const useDirectory = (order: 'active' | 'new', local: boolean = false) => {
|
||||
const { client } = usePlHooksApiClient();
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import { useInfiniteQuery } from '@tanstack/react-query';
|
||||
|
||||
import { importEntities, usePlHooksApiClient, usePlHooksQueryClient } from 'pl-hooks/main';
|
||||
import { usePlHooksApiClient } from 'pl-hooks/contexts/api-client';
|
||||
import { usePlHooksQueryClient } from 'pl-hooks/contexts/query-client';
|
||||
import { importEntities } from 'pl-hooks/importer';
|
||||
|
||||
import type { SearchParams, Tag } from 'pl-api';
|
||||
import type { PaginationParams } from 'pl-api/dist/params/common';
|
||||
|
|
|
@ -2,8 +2,8 @@ import { useQueries, useQuery, UseQueryOptions, type UseQueryResult } from '@tan
|
|||
|
||||
import { usePlHooksApiClient } from 'pl-hooks/contexts/api-client';
|
||||
import { queryClient, usePlHooksQueryClient } from 'pl-hooks/contexts/query-client';
|
||||
import { usePoll } from 'pl-hooks/hooks/polls/use-poll';
|
||||
import { importEntities } from 'pl-hooks/importer';
|
||||
import { usePoll } from 'pl-hooks/main';
|
||||
import { type NormalizedAccount } from 'pl-hooks/normalizers/account';
|
||||
import { type NormalizedStatus, normalizeStatus } from 'pl-hooks/normalizers/status';
|
||||
|
||||
|
|
Loading…
Reference in a new issue