diff --git a/editors/editoria/src/Editoria.js b/editors/editoria/src/Editoria.js index f63c5021fbfd598824aa77c6dc1a8773ab4db38c..9696eab0bc56e32a63dbcda459785661b651f3c7 100644 --- a/editors/editoria/src/Editoria.js +++ b/editors/editoria/src/Editoria.js @@ -1,5 +1,5 @@ import React, { useLayoutEffect, useState, useMemo } from 'react'; -import styled, { createGlobalStyle } from 'styled-components'; +import { createGlobalStyle } from 'styled-components'; import { Wax } from 'wax-prosemirror-core'; @@ -10,8 +10,8 @@ import { demo } from './demo'; const GlobalStyle = createGlobalStyle` body { margin: 0; - padding: 0; overflow-y: hidden; + padding: 0; } #root { @@ -56,7 +56,6 @@ const Editoria = () => { () => ( <> <GlobalStyle /> - <div>Hello</div> <Wax key={key} config={finalConfig}