Skip to content

Commit 2705614

Browse files
committed
Spelling fail
1 parent ab67124 commit 2705614

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/counter/stores/CounterStore.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ import {
55

66
const initialState = { counter: 0 };
77

8-
function incremenent({ counter }) {
8+
function increment({ counter }) {
99
return { counter: counter + 1 };
1010
}
1111

12-
function decremenent({ counter }) {
12+
function decrement({ counter }) {
1313
return { counter: counter - 1 };
1414
}
1515

1616
export default function counterStore(state = initialState, action) {
1717
switch (action.type) {
1818
case INCREMENT_COUNTER:
19-
return incremenent(state, action);
19+
return increment(state, action);
2020
case DECREMENT_COUNTER:
21-
return decremenent(state, action);
21+
return decrement(state, action);
2222
default:
2323
return state;
2424
}

0 commit comments

Comments
 (0)