Skip to content

Loading isn't hide #4

@akmil

Description

@akmil

Sometimes is showed even after set:

setShowLoading(false);
setData(data.rounds);

To reproduce: refresh page few times in browser.

To fix it try to add duration={10}:

<IonLoading
            isOpen={showLoading}
            onDidDismiss={() => setShowLoading(false)}
            message={'Loading...'}
            duration={10}
          />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions