mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
don't barrel export hook only used by neighbors
This commit is contained in:
parent
bb4c6bf156
commit
84c19f63e6
5 changed files with 5 additions and 6 deletions
|
|
@ -1,8 +1,7 @@
|
|||
import { useApiData } from './useApiData';
|
||||
import { useLanguages } from './useLanguages';
|
||||
import { useLicenses } from './useLicenses';
|
||||
import { useLists } from './useLists';
|
||||
import { useTablePageSizer } from './useTablePageSizer';
|
||||
import { useTags } from './useTags';
|
||||
|
||||
export { useApiData, useLanguages, useLicenses, useLists, useTablePageSizer, useTags };
|
||||
export { useLanguages, useLicenses, useLists, useTablePageSizer, useTags };
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { useApiData } from '.';
|
||||
import { Language } from '../interfaces/Language';
|
||||
import { useApiData } from './useApiData';
|
||||
|
||||
export const useLanguages = () => useApiData<Language[]>("/api/v1/languages") || [];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { useApiData } from '.';
|
||||
import { License } from '../interfaces/License';
|
||||
import { useApiData } from './useApiData';
|
||||
|
||||
export const useLicenses = () => useApiData<License[]>("/api/v1/licenses") || [];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { useApiData } from '.';
|
||||
import { List } from '../interfaces/List';
|
||||
import { useApiData } from './useApiData';
|
||||
|
||||
export const useLists = () => useApiData<List[]>("/api/v1/lists") || [];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { useApiData } from '.';
|
||||
import { Tag } from '../interfaces/Tag';
|
||||
import { useApiData } from './useApiData';
|
||||
|
||||
export const useTags = () => useApiData<Tag[]>("/api/v1/tags") || [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue