Fix whitespace
This commit is contained in:
parent
7f6fc32d74
commit
367ec26e79
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
[android]
|
[android]
|
||||||
target = Google Inc.:Google APIs:23
|
target = Google Inc.:Google APIs:23
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,8 @@ class Resistor extends Component {
|
||||||
<Picker.Item label=" Ω" value="1" />
|
<Picker.Item label=" Ω" value="1" />
|
||||||
<Picker.Item label=" mΩ" value="0.001" />
|
<Picker.Item label=" mΩ" value="0.001" />
|
||||||
</Picker>
|
</Picker>
|
||||||
<TouchableOpacity onPress={() => {
|
<TouchableOpacity
|
||||||
|
onPress={() => {
|
||||||
console.log(this);
|
console.log(this);
|
||||||
Alert.alert(
|
Alert.alert(
|
||||||
'Clear resistor value?',
|
'Clear resistor value?',
|
||||||
|
@ -93,7 +94,8 @@ class Resistor extends Component {
|
||||||
{text: 'OK', onPress: clear},
|
{text: 'OK', onPress: clear},
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
}} style={styles.clearbutton} activeOpacity={1}
|
}}
|
||||||
|
style={styles.clearbutton} activeOpacity={1}
|
||||||
>
|
>
|
||||||
<Text>Clear</Text>
|
<Text>Clear</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|
|
@ -13,15 +13,11 @@ class HelpApp extends Component {
|
||||||
render() {
|
render() {
|
||||||
const { state, actions } = this.props;
|
const { state, actions } = this.props;
|
||||||
return (
|
return (
|
||||||
<Help
|
<Help {...actions} />
|
||||||
{...actions} />
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default connect(state => ({
|
export default connect(state => ({
|
||||||
}),
|
}), (dispatch) => ({
|
||||||
(dispatch) => ({
|
}))(HelpApp);
|
||||||
})
|
|
||||||
)(HelpApp);
|
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,8 @@ class MenuApp extends Component {
|
||||||
|
|
||||||
export default connect(state => ({
|
export default connect(state => ({
|
||||||
state: state
|
state: state
|
||||||
}),
|
}), (dispatch) => ({
|
||||||
(dispatch) => ({
|
|
||||||
actions: bindActionCreators(menuActions, dispatch)
|
actions: bindActionCreators(menuActions, dispatch)
|
||||||
})
|
}))(MenuApp);
|
||||||
)(MenuApp);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -61,10 +61,6 @@ class Nav extends Component {
|
||||||
|
|
||||||
export default connect(state => ({
|
export default connect(state => ({
|
||||||
state: state.menu
|
state: state.menu
|
||||||
}),
|
}), (dispatch) => ({
|
||||||
(dispatch) => ({
|
|
||||||
actions: bindActionCreators(menuActions, dispatch)
|
actions: bindActionCreators(menuActions, dispatch)
|
||||||
})
|
}))(Nav);
|
||||||
)(Nav);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user