Skip to content

Wrap the "Donate" button text update logic in a useEffect() hook #3667

@cassiano

Description

@cassiano

Increasing Access

The "Donate" button, once translated to other languages, may help in the funding process.

Feature enhancement details

Following up on #3664, and even though the expected behavior was in fact achieved, I have noticed just now that my logic was placed outside a useEffect() hook, which is conceptually wrong, given the fact that manipulating the DOM is considered a side-effect. This needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions