You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the message say "This is a hack to ensure that image generated is as expected. Without repeating generateImage(), at times, the image wont be generated correctly"
when i try this ( by removing repetition ) :
const handleDownload = async () => { // TODO: Fix if possible. This is a hack to ensure that image generated is as expected. Without repeating generateImage(), at times, the image wont be generated correctly. const generatedImageUrl = await generateImage() if (generatedImageUrl) { download(generatedImageUrl, "profile-pic.png") } };
the output work as expected, where is the problem ?
thank you for you good work
The text was updated successfully, but these errors were encountered:
I've noticed that the startOver() function doesn't work as expected on desktop so if I generate a profile image from my GitHub display picture, it isn't possible to try again with my Twitter profile (it somehow always generates the same image as before). Was the hack an attempt to fix that problem?
If so, I wonder if the startOver() could just be re-written like this as a work-around:
I see the hack and my curiosity was piqued XD
the message say "This is a hack to ensure that image generated is as expected. Without repeating generateImage(), at times, the image wont be generated correctly"
when i try this ( by removing repetition ) :
const handleDownload = async () => { // TODO: Fix if possible. This is a hack to ensure that image generated is as expected. Without repeating generateImage(), at times, the image wont be generated correctly. const generatedImageUrl = await generateImage() if (generatedImageUrl) { download(generatedImageUrl, "profile-pic.png") } };
the output work as expected, where is the problem ?
thank you for you good work
The text was updated successfully, but these errors were encountered: