Skip to content

How to restart the timer? #42

@akhilkurnool

Description

@akhilkurnool

How to restart on setState or any other condition or props change, I have tried to re-render the whole component using forceUpdate() but it doesn't seem to work.
Using this clock for OTP countdown, need to reset when the user resend OTP.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions