zahmis 5 anni fa
parent
commit
5a72bd3868
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      src/client/js/components/Page/DisplaySwitcher.jsx

+ 1 - 3
src/client/js/components/Page/DisplaySwitcher.jsx

@@ -17,14 +17,12 @@ const DisplaySwitcher = (props) => {
   return (
     <>
       {editorMode === 'view' && <Page />}
-      <div id="edit">
-        {editorMode === 'edit' && (
+      {editorMode === 'edit' && (
         <>
           <Editor />
           <EditorNavbarBottom />
         </>
       )}
-      </div>
       {editorMode === 'hackmd' && <PageEditorByHackmd />}
     </>
   );