Skip to content

Commit bd70add

Browse files
authored
chore: restore index.js in apps/app (#292)
1 parent 5deff9c commit bd70add

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/app/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { registerRootComponent } from "expo";
2+
3+
import App from './App';
4+
5+
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
6+
// It also ensures that whether you load the app in Expo Go or in a native build,
7+
// the environment is set up appropriately
8+
registerRootComponent(App);

0 commit comments

Comments
 (0)