perf for size
This commit is contained in:
@@ -16,3 +16,4 @@ export const App = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { BaseEditor } from '@kevisual/codemirror/editor/editor.ts';
|
||||
import { lazy, useEffect, useRef, useState } from 'react';
|
||||
import { Box, Drawer } from '@mui/material';
|
||||
import { useShallow } from 'zustand/shallow';
|
||||
import { useContainerStore } from '../store';
|
||||
@@ -8,6 +7,7 @@ import { IconButton } from '@kevisual/components/button/index.tsx';
|
||||
import { LeftOutlined, SaveOutlined } from '@ant-design/icons';
|
||||
// import { previewCode } from './preview-code';
|
||||
// import { StackIcons } from './StackIcons';
|
||||
import { BaseEditor } from '@kevisual/codemirror/editor/editor.ts';
|
||||
|
||||
export const DrawEdit = () => {
|
||||
const editorElRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
Reference in New Issue
Block a user