|
|
@@ -1,8 +1,8 @@
|
|
|
-import useSWR, { SWRResponse } from 'swr';
|
|
|
+import { SWRResponse } from 'swr';
|
|
|
import useSWRImmutable from 'swr/immutable';
|
|
|
|
|
|
-import { ITagsListApiv1Result } from '~/interfaces/tag';
|
|
|
import { apiGet } from '~/client/util/apiv1-client';
|
|
|
+import { ITagsListApiv1Result } from '~/interfaces/tag';
|
|
|
|
|
|
export const useSWRxTagsList = (limit?: number, offset?: number): SWRResponse<ITagsListApiv1Result, Error> => {
|
|
|
return useSWRImmutable(
|