style refine
This commit is contained in:
@@ -2,7 +2,6 @@ import React from 'react'
|
||||
import { useRecoilValue } from 'recoil'
|
||||
import Editor from './Editor/Editor'
|
||||
import { shortcutsState } from '../store/Atoms'
|
||||
import Header from './Header/Header'
|
||||
import ShortcutsModal from './Shortcuts/ShortcutsModal'
|
||||
|
||||
interface WorkspaceProps {
|
||||
@@ -13,7 +12,6 @@ const Workspace = ({ file }: WorkspaceProps) => {
|
||||
const shortcutVisbility = useRecoilValue(shortcutsState)
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<Editor file={file} />
|
||||
{shortcutVisbility ? <ShortcutsModal /> : null}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user