Skip to content

Instantly share code, notes, and snippets.

@andregardi
Created September 12, 2020 13:42
Show Gist options
  • Save andregardi/56b00c9cead0b2250dbdfcc68442b4f3 to your computer and use it in GitHub Desktop.
Save andregardi/56b00c9cead0b2250dbdfcc68442b4f3 to your computer and use it in GitHub Desktop.
export const add1ToPopuation = (store) => (state) => {
state.cities[0].population[0].population++;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment