Commit edd31c01 authored by Trisno's avatar Trisno

fix item note

parent 18fa5817
......@@ -37,7 +37,8 @@ class Item extends React.Component {
handleAddDescription() {
this.setState({
modalVisible: true
modalVisible: true,
notes: this.props.item.note
})
}
......
......@@ -39,7 +39,8 @@ class ItemShoping extends React.Component {
handleAddDescription() {
this.setState({
modalVisible: true
modalVisible: true,
note: this.props.item.note
})
}
......@@ -63,7 +64,7 @@ class ItemShoping extends React.Component {
render() {
const { item } = this.props
// console.log(this.props)
console.log(this.props)
return (
<View style={{ flex: 1 }} key={item.id}>
......
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