1👍
✅
The first parameter of the mutation is the state and the second parameter is what you pass. You have only one parameter so what you are looking at is the state object.
Change async cancelOrder(payload) {
to async cancelOrder(state, payload) {
Source:stackexchange.com