Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
fix lint

fix lint
  • Loading branch information
mwilc0x committed Mar 9, 2016
1 parent 73f1682 commit ee7dff2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/todomvc/constants/ActionTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export const EDIT_TODO = 'EDIT_TODO'
export const COMPLETE_TODO = 'COMPLETE_TODO'
export const COMPLETE_ALL = 'COMPLETE_ALL'
export const CLEAR_COMPLETED = 'CLEAR_COMPLETED'
export const SET_VISIBILITY_FILTER = 'SET_VISIBILITY_FILTER'
export const SET_VISIBILITY_FILTER = 'SET_VISIBILITY_FILTER'
2 changes: 0 additions & 2 deletions examples/todomvc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import { createStore } from 'redux'
import todoApp from './reducers'
import App from './components/App'
import configureStore from './store/configureStore'
import 'todomvc-app-css/index.css'
Expand Down
2 changes: 1 addition & 1 deletion examples/todomvc/reducers/todos.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const todo = (state, action) => {
}
}

const initialState = [{ id: 0, text: 'Use Redux', completed: false }]
const initialState = [ { id: 0, text: 'Use Redux', completed: false } ]

const todos = (state = initialState, action) => {
switch (action.type) {
Expand Down
6 changes: 3 additions & 3 deletions examples/todomvc/selectors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ export const getVisibleTodos = createSelector(
)

export const getActiveCount = createSelector(
[getTodos],
[ getTodos ],
(todos) => todos.filter(todo => !todo.completed).length
)

export const getCompletedCount = createSelector(
[getTodos],
[ getTodos ],
(todos) => todos.filter(todo => todo.completed).length
)
)
2 changes: 1 addition & 1 deletion examples/todomvc/store/configureStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export default function configureStore(initialState) {
}

return store
}
}

0 comments on commit ee7dff2

Please sign in to comment.