It’s not clear what you’re trying to do:
You’re using M ember and m ember interchangeably.
You don’t do anything with the Members array anywhere.
Anyway assuming you wish to save based on the user input, you should put the
let member and the insert line inside the onClick event handler.