mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 17:30:25 +00:00
Remove semi-colons after class definition
Summary: None of the preceding code examples have semi-colons after the class definition (because they're not necessary): - https://facebook.github.io/react-native/docs/tutorial.html - https://facebook.github.io/react-native/docs/props.html - https://facebook.github.io/react-native/docs/state.html - https://facebook.github.io/react-native/docs/style.html For consistency, I removed them 👍 Closes https://github.com/facebook/react-native/pull/12616 Differential Revision: D4651704 fbshipit-source-id: e59fa37c82d61728bc8ee28c7109717bd10635c2
This commit is contained in:
parent
3e9dedf1ac
commit
8174a0dc08
@ -28,7 +28,7 @@ class FixedDimensionsBasics extends Component {
|
||||
</View>
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
AppRegistry.registerComponent('AwesomeProject', () => FixedDimensionsBasics);
|
||||
```
|
||||
@ -58,7 +58,7 @@ class FlexDimensionsBasics extends Component {
|
||||
</View>
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
AppRegistry.registerComponent('AwesomeProject', () => FlexDimensionsBasics);
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user