score:4

Accepted answer

Change your action. It can receive only objects, not call a function:

actions.js

export function changeText(value) {
 type: "CHANGE_TEXT",
 payload: {text:value},
}

Related Query

More Query from same tag