We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74cc0c0 commit 832d259Copy full SHA for 832d259
react-native-scripts/src/bin/crna-entry-web.js
@@ -1,10 +1,6 @@
1
-import Expo from 'expo';
+import { KeepAwake, registerRootComponent } from 'expo';
2
import App from '../../../../src/App';
3
-import React, { Component } from 'react';
4
-import { View } from 'react-native';
5
6
-if (process.env.NODE_ENV === 'development') {
7
- Expo.KeepAwake.activate();
8
-}
+if (process.env.NODE_ENV === 'development') KeepAwake.activate();
9
10
-Expo.registerRootComponent(App);
+registerRootComponent(App);
0 commit comments