Merge pull request #1042 from OpenSignLabs/fix_widgets

This commit is contained in:
Amol
2024-08-12 19:12:23 +05:30
committed by GitHub
+2 -2
View File
@@ -1212,8 +1212,8 @@ export const fetchImageBase64 = async (imageUrl) => {
};
//function for select image and upload image
export const changeImageWH = async (base64Image) => {
const newWidth = 100;
const newHeight = 40;
const newWidth = 300;
const newHeight = 120;
return new Promise((resolve, reject) => {
const img = new Image();
img.src = base64Image;