Skip to content

Commit 832d259

Browse files
clayrisserfson
authored andcommitted
Removed unnecessary imports in crna-entry-web.js (expo#635)
1 parent 74cc0c0 commit 832d259

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
import Expo from 'expo';
1+
import { KeepAwake, registerRootComponent } from 'expo';
22
import App from '../../../../src/App';
3-
import React, { Component } from 'react';
4-
import { View } from 'react-native';
53

6-
if (process.env.NODE_ENV === 'development') {
7-
Expo.KeepAwake.activate();
8-
}
4+
if (process.env.NODE_ENV === 'development') KeepAwake.activate();
95

10-
Expo.registerRootComponent(App);
6+
registerRootComponent(App);

0 commit comments

Comments
 (0)