Skip to content

Commit 6e90065

Browse files
Fix invalid object rest syntax
Trailing commas are not allowed after the rest element, this is not enforced by babel 6 but is by babel 7.
1 parent 74a0b3f commit 6e90065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SceneComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const {View, StyleSheet, } = ReactNative;
66
const StaticContainer = require('./StaticContainer');
77

88
const SceneComponent = (Props) => {
9-
const {shouldUpdated, ...props, } = Props;
9+
const {shouldUpdated, ...props} = Props;
1010
return <View {...props}>
1111
<StaticContainer shouldUpdate={shouldUpdated}>
1212
{props.children}

0 commit comments

Comments
 (0)