set png default extension

This commit is contained in:
AykutSarac 2023-02-11 19:49:55 +03:00
parent c2ff8d225e
commit e450041d71
No known key found for this signature in database

View File

@ -96,7 +96,7 @@ enum Extensions {
png,
}
export const DownloadModal: React.FC<ModalProps> = ({ visible, setVisible }) => {
const [extension, setExtension] = React.useState(Extensions.svg);
const [extension, setExtension] = React.useState(Extensions.png);
const [fileDetails, setFileDetails] = React.useState({
filename: "jsoncrack.com",
backgroundColor: "transparent",