Explorar el Código

delete div id

zahmis hace 5 años
padre
commit
5a72bd3868
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  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 />}
     </>
   );