chore: replace components with core-ui, upgrade eslint
This commit is contained in:
@@ -143,7 +143,7 @@ const useSetChunkRequest = () => {
|
||||
total.current = e.total || 0;
|
||||
|
||||
if (contentType === 'json') {
|
||||
let currentRes = sliceData(response, e.loaded, loadedSize);
|
||||
const currentRes = sliceData(response, e.loaded, loadedSize);
|
||||
workerRef.current.postMessage(currentRes);
|
||||
} else {
|
||||
handler(response);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { HandlerOptions } from '@/hooks/use-chunk-fetch';
|
||||
import useDownloadStream from '@/hooks/use-download-stream';
|
||||
import { useDownloadStream } from '@gpustack/core-ui';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Progress, notification } from 'antd';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
Reference in New Issue
Block a user