|
@@ -2,8 +2,9 @@
|
|
|
* @format
|
|
|
*/
|
|
|
|
|
|
-import { AppRegistry } from 'react-native';
|
|
|
+import {AppRegistry} from 'react-native';
|
|
|
import App from './App';
|
|
|
-import { name as appName } from './app.json';
|
|
|
-
|
|
|
+import {name as appName} from './app.json';
|
|
|
+import api from './src/api/index';
|
|
|
+global.$http = api;
|
|
|
AppRegistry.registerComponent(appName, () => App);
|