- remove unused components
- cleanup style
This commit is contained in:
cv
2021-06-13 21:35:48 +02:00
parent f8380b2a8c
commit 992f508d5a
8 changed files with 28 additions and 30 deletions
+4 -5
View File
@@ -1,10 +1,7 @@
import { lazy, useEffect } from 'react';
import { Heading } from '@chakra-ui/layout';
import { Box } from '@chakra-ui/layout';
import { useDisclosure } from '@chakra-ui/hooks';
import styles from './Editor.module.css';
import NumberedText from 'common/components/text/NumberedText';
import SettingsModal from 'features/modals/SettingsModal';
import MenuBar from 'features/menu/MenuBar';
@@ -53,9 +50,11 @@ export default function Editor() {
</div>
</Box>
<Box className={styles.info} borderRadius='0.5em' overflowX='auto'>
<Box className={styles.info}>
<h1>Info</h1>
<div className={styles.content}></div>
<div className={styles.content}>
<Info />
</div>
</Box>
</div>
</>
@@ -161,10 +161,6 @@ const CollapsedBlock = (props) => {
export default function EventBlock(props) {
const { data, selected, delay, index, eventIndex, actionHandler } = props;
// const [collapsed, setCollapsed] = useState(checkLocalStorage(data.id));
// const collapsed = useSelector(itemsAtom, (state) => state === data.id);
const [collapsed] = useAtom(
useMemo(() => SelectCollapse(data.id), [data.id])
);
@@ -30,7 +30,6 @@
grid-template-columns: 2em 2em auto auto 1fr auto 3.7em;
grid-template-areas: 'drag indi time time text more btns';
justify-content: center;
align-items: baseline;
}
.expanded {