diff --git a/public/index.html b/public/index.html index 9c2fe27..24261c9 100644 --- a/public/index.html +++ b/public/index.html @@ -39,6 +39,8 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> + + Coverview diff --git a/src/components/ComponentToImg.js b/src/components/ComponentToImg.js index faa7b9a..38bce69 100644 --- a/src/components/ComponentToImg.js +++ b/src/components/ComponentToImg.js @@ -1,4 +1,4 @@ -import React from "react"; +import React,{useEffect} from "react"; import { exportComponentAsPNG } from "react-component-export-image"; import "./CoverImage.css"; diff --git a/src/components/Editor.js b/src/components/Editor.js index 9e9369f..8173493 100644 --- a/src/components/Editor.js +++ b/src/components/Editor.js @@ -75,18 +75,8 @@ class Editor extends React.Component { return (
- {/*

🛠 Creating cover images for your blogs is now super easy

*/} -
-

Coverview

- - - - -
Blog Title