diff options
Diffstat (limited to 'src/hooks')
-rw-r--r-- | src/hooks/useAPIClient.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/useAPIClient.ts b/src/hooks/useAPIClient.ts index adb6d3f..b523d1f 100644 --- a/src/hooks/useAPIClient.ts +++ b/src/hooks/useAPIClient.ts @@ -8,7 +8,7 @@ const fetcher = (endpoint: string) => get(endpoint).then(response => response.da const hooks: any = {}; -const registerServiceHooks = <Item = any>(service: string) => { +const registerServiceHooks = <Item = any>(service: string): void => { const useList = (query = '', options = {}): Response<Item[]> => { return useSWR(`/${service}${query}`, fetcher, options); }; |