Skip to content

Commit

Permalink
Define propTypes as static
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarty committed Jan 31, 2017
1 parent 98ee4d2 commit 6a6ba8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/scenes/FTU.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,14 @@ export class FTU extends Component {
</View>
);
}

static propTypes = {
navigator: PropTypes.object,
}
}

const { width, height } = Dimensions.get('window');

FTU.propTypes = {
navigator: PropTypes.object,
};

const styles = StyleSheet.create({
container: {
flex: 1,
Expand Down

0 comments on commit 6a6ba8d

Please sign in to comment.