|
|
@@ -1,11 +1,9 @@
|
|
|
import { SWRResponse } from 'swr';
|
|
|
import useSWRImmutable from 'swr/immutable';
|
|
|
|
|
|
-
|
|
|
import { apiGet } from '~/client/util/apiv1-client';
|
|
|
import { IResTagsListApiv1 } from '~/interfaces/tag';
|
|
|
|
|
|
-
|
|
|
export const useSWRxTagsList = (limit?: number, offset?: number): SWRResponse<IResTagsListApiv1, Error> => {
|
|
|
return useSWRImmutable(
|
|
|
['/tags.list', limit, offset],
|