Skip to content

Commit 13b17b4

Browse files
crismalianp
authored andcommitted
Prevent Expo.Components namespace deprecation warning (expo#91)
1 parent fd94cc5 commit 13b17b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

react-native-scripts/src/bin/crna-entry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Expo, { Components } from 'expo';
1+
import Expo from 'expo';
22
import App from '../../../../App';
33
import React from 'react';
44
import { View } from 'react-native';
@@ -14,7 +14,7 @@ class AwakeApp extends React.Component {
1414
},
1515
},
1616
React.createElement(App, null),
17-
React.createElement(Components.KeepAwake, null)
17+
React.createElement(Expo.KeepAwake, null)
1818
);
1919
}
2020
}

0 commit comments

Comments
 (0)