chore: update hooks import
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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,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';
|
||||
|
||||
@@ -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,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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user