diff --git a/_chapters/add-the-create-note-page.md b/_chapters/add-the-create-note-page.md index 601320ccf..04b1a49ca 100644 --- a/_chapters/add-the-create-note-page.md +++ b/_chapters/add-the-create-note-page.md @@ -29,7 +29,7 @@ export default class NewNote extends Component { this.file = null; this.state = { - isLoading: null, + isLoading: false, content: "" }; } diff --git a/_chapters/render-the-note-form.md b/_chapters/render-the-note-form.md index 5e27c8329..9e005b486 100644 --- a/_chapters/render-the-note-form.md +++ b/_chapters/render-the-note-form.md @@ -130,8 +130,8 @@ To complete this code, let's add `isLoading` and `isDeleting` to the state. ``` javascript this.state = { - isLoading: null, - isDeleting: null, + isLoading: false, + isDeleting: false, note: null, content: "", attachmentURL: null