Skip to content

Commit c384b0d

Browse files
committed
perf: max w
1 parent 4c6dfb6 commit c384b0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/web/common/file/read/rawText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const readFileRawText = (file: File) => {
1010
reader.onload = () => {
1111
//@ts-ignore
1212
const encode = detectFileEncoding(reader.result);
13-
console.log(encode);
13+
1414
// 再次读取文件,这次使用检测到的编码
1515
const reader2 = new FileReader();
1616
reader2.onload = () => {

projects/app/src/pages/dataset/detail/components/Import/commonProgress/PreviewData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const PreviewData = ({
1515
const { sources, setSources } = useImportStore();
1616

1717
return (
18-
<Flex flexDirection={'column'} h={'100%'} maxW={'1080px'}>
18+
<Flex flexDirection={'column'} h={'100%'}>
1919
<Box flex={'1 0 0 '}>
2020
<Preview showPreviewChunks={showPreviewChunks} sources={sources} />
2121
</Box>

0 commit comments

Comments
 (0)