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
+5 -2
View File
@@ -1,6 +1,9 @@
import useAppUtils from '@/hooks/use-app-utils';
import { CaretDownOutlined, InfoCircleOutlined } from '@ant-design/icons';
import { Select as SealSelect, TooltipList } from '@gpustack/core-ui';
import {
Select as SealSelect,
TooltipList,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl, useNavigate } from '@umijs/max';
import { Form, Select } from 'antd';
import React, { useMemo } from 'react';
+2 -2
View File
@@ -1,6 +1,5 @@
import { modelNameReg, PageAction } from '@/config';
import { OPENAI_COMPATIBLE } from '@/config/settings';
import useAppUtils from '@/hooks/use-app-utils';
import {
ClusterStatusLabelMap,
ClusterStatusValueMap
@@ -8,7 +7,8 @@ import {
import {
AutoTooltip,
Input as CInput,
Select as SealSelect
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
+1 -2
View File
@@ -1,5 +1,4 @@
import useAppUtils from '@/hooks/use-app-utils';
import { Input as CInput } from '@gpustack/core-ui';
import { Input as CInput, useAppUtils } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import React from 'react';
+5 -2
View File
@@ -1,5 +1,8 @@
import useAppUtils from '@/hooks/use-app-utils';
import { Input as CInput, Textarea as SealTextArea } from '@gpustack/core-ui';
import {
Input as CInput,
Textarea as SealTextArea,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import React from 'react';
@@ -1,5 +1,4 @@
import useAppUtils from '@/hooks/use-app-utils';
import { Input as CInput, TooltipList } from '@gpustack/core-ui';
import { Input as CInput, TooltipList, useAppUtils } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import _ from 'lodash';
+1 -2
View File
@@ -1,6 +1,5 @@
import { PageAction } from '@/config';
import useAppUtils from '@/hooks/use-app-utils';
import { Input as CInput } from '@gpustack/core-ui';
import { Input as CInput, useAppUtils } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import React from 'react';
+2 -2
View File
@@ -1,10 +1,10 @@
import useAppUtils from '@/hooks/use-app-utils';
import {
LabelSelector,
LabelSelectorProvider,
Cascader as SealCascader,
Select as SealSelect,
TooltipList
TooltipList,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form, InputNumber } from 'antd';
@@ -1,10 +1,10 @@
import useAppUtils from '@/hooks/use-app-utils';
import {
AutoComplete,
CheckboxField,
Input as CInput,
InputNumber as CInputNumber,
Select as SealSelect
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';