|
|
@@ -9,10 +9,6 @@ import dynamic from 'next/dynamic';
|
|
|
import Link from 'next/link';
|
|
|
import { useRouter } from 'next/router';
|
|
|
|
|
|
-import {
|
|
|
- useAncestorUserGroups,
|
|
|
- useChildUserGroupList, useUserGroup, useUserGroupRelationList, useUserGroupRelations,
|
|
|
-} from '~/client/services/user-group';
|
|
|
import {
|
|
|
apiv3Get, apiv3Put, apiv3Delete, apiv3Post,
|
|
|
} from '~/client/util/apiv3-client';
|
|
|
@@ -25,6 +21,11 @@ import { useUpdateUserGroupConfirmModal } from '~/stores/modal';
|
|
|
import { useSWRxUserGroupPages, useSWRxSelectableParentUserGroups, useSWRxSelectableChildUserGroups } from '~/stores/user-group';
|
|
|
import loggerFactory from '~/utils/logger';
|
|
|
|
|
|
+import {
|
|
|
+ useAncestorUserGroups,
|
|
|
+ useChildUserGroupList, useUserGroup, useUserGroupRelationList, useUserGroupRelations,
|
|
|
+} from './use-user-group-resource';
|
|
|
+
|
|
|
import styles from './UserGroupDetailPage.module.scss';
|
|
|
|
|
|
const logger = loggerFactory('growi:services:AdminCustomizeContainer');
|