diff --git a/src/components/seal-form/components/label-info.tsx b/src/components/seal-form/components/label-info.tsx index f377cf31..2755cc7a 100644 --- a/src/components/seal-form/components/label-info.tsx +++ b/src/components/seal-form/components/label-info.tsx @@ -1,4 +1,4 @@ -import { InfoCircleOutlined } from '@ant-design/icons'; +import { QuestionCircleOutlined } from '@ant-design/icons'; import { Tooltip } from 'antd'; import React from 'react'; import './label-info.less'; @@ -25,9 +25,9 @@ const NoteInfo: React.FC = (props) => { )} - + diff --git a/src/pages/playground/components/params-settings.tsx b/src/pages/playground/components/params-settings.tsx index 4fc5efc9..efcec259 100644 --- a/src/pages/playground/components/params-settings.tsx +++ b/src/pages/playground/components/params-settings.tsx @@ -2,7 +2,7 @@ import FieldWrapper from '@/components/seal-form/field-wrapper'; import SealInput from '@/components/seal-form/seal-input'; import SealSelect from '@/components/seal-form/seal-select'; import { INPUT_WIDTH } from '@/constants'; -import { InfoCircleOutlined } from '@ant-design/icons'; +import { QuestionCircleOutlined } from '@ant-design/icons'; import { useIntl } from '@umijs/max'; import { Form, InputNumber, Slider, Tooltip } from 'antd'; import _ from 'lodash'; @@ -173,7 +173,7 @@ const ParamsSettings: React.FC = ({ {args.label} - + ) : ( diff --git a/src/utils/fetch-chunk-data.ts b/src/utils/fetch-chunk-data.ts index 87eafb2f..d0522abb 100644 --- a/src/utils/fetch-chunk-data.ts +++ b/src/utils/fetch-chunk-data.ts @@ -68,10 +68,7 @@ export const fetchChunkedData = async (params: { }); if (!response.ok) { - return { - error: true, - data: await errorHandler(response) - }; + return await errorHandler(response); } const reader = response?.body?.getReader(); const decoder = new TextDecoder('utf-8', {