Skip to content

Repeating generateImage() #24

@HassanDev13

Description

@HassanDev13

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions