Commit d0ee40db by Tonk

fix

parent e57d12e6
......@@ -102,7 +102,7 @@ class SmartMeterDetailScreen extends Component {
state = {
sb: this.expandState(),
data: this.props.allMainDeviceInfo.find(x => x.deviceId === this.props.selectedDeviceId),
data: this.props.allMainDeviceInfo.find(x => x.deviceId === this.props.navigation.getParam('deviceId')),
};
constructor(props) {
......
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