Bugfix: In creation of a new app, only one image is now shown
This commit is contained in:
@@ -4331,6 +4331,7 @@ const AppCreator = (props) => {
|
||||
canvas.height = 174;
|
||||
var ctx = canvas.getContext("2d");
|
||||
|
||||
if (img)
|
||||
img.onload = function () {
|
||||
// img, x, y, width, height
|
||||
//ctx.drawImage(img, 174, 174)
|
||||
@@ -4626,8 +4627,7 @@ const AppCreator = (props) => {
|
||||
setOpenImageModal(true);
|
||||
}}
|
||||
>
|
||||
{!imageData && alternateImg}
|
||||
{imageInfo}
|
||||
{imageData ? imageInfo : alternateImg}
|
||||
<input
|
||||
hidden
|
||||
type="file"
|
||||
|
||||
Reference in New Issue
Block a user