use string instead of String

This commit is contained in:
Maren Süwer
2018-10-18 08:25:24 +02:00
parent 2f0bdba9e6
commit d6bc1e2fda
3 changed files with 9 additions and 7 deletions

View File

@@ -53,7 +53,9 @@ type Props = {
class App extends Component<Props> {
componentDidMount() {
if (this.props.meLink) this.props.fetchMe(this.props.meLink);
if (this.props.meLink) {
this.props.fetchMe(this.props.meLink);
}
}
render() {