Skip to content

Commit 1e479c2

Browse files
committed
fix copy
1 parent 514f232 commit 1e479c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/src/components/views/todo/todo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { types, module } from 'store/modules/todo'
2828
export default class Todo extends Vue {
2929
@module.State(types.state.todos) allTodos
3030

31-
@module.Getter(types.getter.fillterTodos) todos
31+
@module.Getter(types.getter.filterTodos) todos
3232

3333
@module.Mutation(types.mutation.setFilter) setFilter
3434

example/src/store/modules/todo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let state: TodoState = {
2121

2222
/*** getters ***/
2323
let getters = getter(state, {
24-
fillterTodos (state, getters) {
24+
filterTodos (state, getters) {
2525
let filter = state.filter || 'all'
2626

2727
switch (filter) {

0 commit comments

Comments
 (0)