Skip to content

Instantly share code, notes, and snippets.

@antondevv
Last active April 2, 2022 12:39
Show Gist options
  • Save antondevv/2c914ecc4111b5b6ff1c13d8b009b646 to your computer and use it in GitHub Desktop.
Save antondevv/2c914ecc4111b5b6ff1c13d8b009b646 to your computer and use it in GitHub Desktop.
action
export const changeUsersName = (name) => {
return {
type: "CHANGEUSERNAME",
payload: name,
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment