Javascript Function Is Not Calling On Onclick Event In React Stack

Javascript Function Is Not Calling On Onclick Event In React Stack