Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs-may19 Oleksandr Hlybchenko #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Hlybchenko
Copy link

@Hlybchenko Hlybchenko marked this pull request as ready for review July 26, 2019 23:16
Copy link
Contributor

@vpolets vpolets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Прийняв

};

async componentWillMount() {
const getedTodos = await this.getFromLocalStorage();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get got gotten

localStorage.setItem('todos', JSON.stringify(data));
};

onItemAdded = (title) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addItem


<ul className="todo-list">
{todos.map(todo => (
<li className={todo.complete ? 'completed' : ''} key={todo.id}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а чим завинила ця li що вона не попала в компонент TodoItem?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants