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,8 +1,11 @@
import { modelNameReg, PageAction } from '@/config';
import useAppUtils from '@/hooks/use-app-utils';
import { ClusterStatusValueMap } from '@/pages/cluster-management/config';
import { useBenchmarkTargetInstance } from '@/pages/llmodels/hooks/use-run-benchmark';
import { Input as CInput, Select as SealSelect } from '@gpustack/core-ui';
import {
Input as CInput,
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';
import React, { useEffect } from 'react';
+5 -2
View File
@@ -1,6 +1,9 @@
import { PageAction } from '@/config';
import useAppUtils from '@/hooks/use-app-utils';
import { AutoTooltip, Select as SealSelect } from '@gpustack/core-ui';
import {
AutoTooltip,
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form, Select } from 'antd';
import _ from 'lodash';
+1 -2
View File
@@ -1,5 +1,4 @@
import { PageAction } from '@/config';
import useAppUtils from '@/hooks/use-app-utils';
import {
InstanceStatusMap,
InstanceStatusMapValue,
@@ -8,7 +7,7 @@ import {
import { useBenchmarkTargetInstance } from '@/pages/llmodels/hooks/use-run-benchmark';
import { useQueryModelInstancesList } from '@/pages/llmodels/services/use-query-model-instances';
import { useQueryModelList } from '@/pages/llmodels/services/use-query-model-list';
import { Cascader as SealCascader } from '@gpustack/core-ui';
import { Cascader as SealCascader, useAppUtils } from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form, Tooltip } from 'antd';
import React, { useEffect } from 'react';
@@ -1,8 +1,8 @@
import { PageAction } from '@/config';
import useAppUtils from '@/hooks/use-app-utils';
import {
InputNumber as CInputNumber,
Select as SealSelect
Select as SealSelect,
useAppUtils
} from '@gpustack/core-ui';
import { useIntl } from '@umijs/max';
import { Form } from 'antd';