This commit is contained in:
davidwells 2018-06-13 15:04:44 -07:00
parent 2bfc7acbfc
commit 8e807aeb6f
3 changed files with 3 additions and 4 deletions

View file

@ -183,7 +183,7 @@
.todo__state:checked ~ .todo__icon .todo__circle { .todo__state:checked ~ .todo__icon .todo__circle {
animation-name: explode; animation-name: explode;
} }
.todo-completed .todo__state:checked ~ .todo__icon .todo__circle { /* .todo-completed .todo__state:checked ~ .todo__icon .todo__circle {
animation-name: none; animation-name: none;
animation: none; animation: none;
} } */

View file

@ -110,7 +110,6 @@ class App extends Component {
return todo return todo
}) })
// only set state if input different
this.setState({ this.setState({
todos: updatedTodos todos: updatedTodos
}, () => { }, () => {

View file

@ -2,7 +2,7 @@ import React from 'react'
import deployButton from '../../assets/deploy-to-netlify.svg' import deployButton from '../../assets/deploy-to-netlify.svg'
import logo from '../../assets/logo.svg' import logo from '../../assets/logo.svg'
import github from '../../assets/github.svg' import github from '../../assets/github.svg'
import styles from './AppHeader.css' import styles from './AppHeader.css' // eslint-disable-line
const AppHeader = (props) => { const AppHeader = (props) => {
return ( return (