Skip to content

Commit 0425583

Browse files
author
Ahmed Elshaabany
committed
Modify package.json file
1 parent 91c22dd commit 0425583

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

template/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import {AppRegistry} from 'react-native';
66
import App from './src/App';
7-
import {name as appName} from './app.json';
87

9-
AppRegistry.registerComponent(appName, () => App);
8+
const APP_NAME = 'ProjectName';
9+
10+
AppRegistry.registerComponent(APP_NAME, () => App);

0 commit comments

Comments
 (0)