Commit 58269e56 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

perubahan ke dua untuk bug edit note

parent c6d01124
...@@ -43,7 +43,7 @@ class Item extends React.Component { ...@@ -43,7 +43,7 @@ class Item extends React.Component {
handleEdit = (item) => { handleEdit = (item) => {
let note = '' let note = ''
if (this.state.note === '') { if (this.state.notes === '') {
note = item.note; note = item.note;
} else { } else {
note = this.state.notes; note = this.state.notes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment