|
@@ -3,7 +3,7 @@ import { SWRResponse } from 'swr';
|
|
|
import useSWRImmutable from 'swr/immutable';
|
|
import useSWRImmutable from 'swr/immutable';
|
|
|
|
|
|
|
|
import { apiv3Get } from '~/client/util/apiv3-client';
|
|
import { apiv3Get } from '~/client/util/apiv3-client';
|
|
|
-import { BookmarkFolderItems } from '~/server/models/bookmark-folder';
|
|
|
|
|
|
|
+import { BookmarkFolderItems } from '~/interfaces/bookmark-info';
|
|
|
|
|
|
|
|
export const useSWRxBookamrkFolderAndChild = (parentId?: Nullable<string>): SWRResponse<BookmarkFolderItems[], Error> => {
|
|
export const useSWRxBookamrkFolderAndChild = (parentId?: Nullable<string>): SWRResponse<BookmarkFolderItems[], Error> => {
|
|
|
const _parentId = parentId == null ? '' : parentId;
|
|
const _parentId = parentId == null ? '' : parentId;
|