fix font issue

This commit is contained in:
rutik wankhade 2023-01-25 22:51:47 +05:30
parent 8efbecff75
commit c825f9de7b
3 changed files with 2 additions and 2 deletions

View File

@ -35,6 +35,7 @@
<link href="https://fonts.googleapis.com/css2?family=Anek+Latin:wght@400;500;600;700&display=swap?" rel="stylesheet" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet" crossorigin="anonymous">
<!--
Notice the use of %PUBLIC_URL% in the tags above.

View File

@ -30,7 +30,7 @@ const ComponentToImg = (props) => {
height: element.offsetHeight + "px",
}
})
.then((data) => {
.then(async (data) => {
var a = document.createElement("A");
a.href = data;
a.download = `cover.png`;

View File

@ -153,7 +153,6 @@ class Editor extends React.Component {
<option>font-Inter</option>
<option>font-Poppins</option>
<option>font-Anek</option>
<option>font-Nunito</option>
</select>
</div>
<div className="flex flex-col m-2 w-1/2">