chore: update hooks import

This commit is contained in:
jialin
2026-04-24 14:28:30 +08:00
committed by jialin
parent a795544074
commit 48b357b1c6
61 changed files with 11384 additions and 3197 deletions
@@ -1,7 +1,6 @@
import { PageAction } from '@/config';
import { PageActionType } from '@/config/types';
import useAppUtils from '@/hooks/use-app-utils';
import { Input as CInput, FormDrawer } from '@gpustack/core-ui';
import { Input as CInput, FormDrawer, useAppUtils } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import React, { useEffect } from 'react';
@@ -1,8 +1,11 @@
import { fromClusterCreationAtom } from '@/atoms/clusters';
import { PageAction } from '@/config';
import { PageActionType } from '@/config/types';
import useAppUtils from '@/hooks/use-app-utils';
import { Input as CInput, Select as SealSelect } from '@gpustack/core-ui';
import {
Input as CInput,
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { Link, useIntl } from '@umijs/max';
import { Form } from 'antd';
import { useAtom } from 'jotai';
@@ -1,13 +1,13 @@
import { PageAction } from '@/config';
import { PageActionType } from '@/config/types';
import useAppUtils from '@/hooks/use-app-utils';
import { MinusOutlined, PlusOutlined } from '@ant-design/icons';
import {
Input as CInput,
CollapseContainer,
Checkbox as SealCheckbox,
Select as SealSelect,
Switch as SealSwitch
Switch as SealSwitch,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Button, Flex, Form } from 'antd';
@@ -4,7 +4,6 @@ import {
} from '@/atoms/clusters';
import { PageAction } from '@/config';
import { PageActionType } from '@/config/types';
import useAppUtils from '@/hooks/use-app-utils';
import { CardContainer } from '@/pages/llmodels/components/gpu-card';
import { DeleteOutlined } from '@ant-design/icons';
import {
@@ -14,7 +13,8 @@ import {
CollapseContainer,
IconFont,
LabelSelector,
Select as SealSelect
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { type CollapseContainerProps } from '@gpustack/core-ui/lib/components/collapse-container';
import { useIntl } from '@umijs/max';