Working in a react project, I want to remove the 6 from the string stored in state, and replace it with the value from an onClick on a button
const string = "123