Calling a contract function that isn't read only

I am trying to call a contract function in react using runContractFunction. This worked when I tested before but only on a function that was read only. How would I go about calling a contract function that isn’t read only. For reference I am running the code from this GitHub repo: https://github.com/ethereum-boilerplate/ethereum-boilerplate

You can do it but you have to use a different react hook for that. It will use MetaMask or current wallet to send that transaction.

Could you link the react hook I would need to use for this?

You can check this