move App.tsx to src
This commit is contained in:
parent
f559c1e215
commit
03774a540f
2
index.js
2
index.js
@ -1,6 +1,6 @@
|
|||||||
import { registerRootComponent } from "expo";
|
import { registerRootComponent } from "expo";
|
||||||
|
|
||||||
import App from "./App";
|
import App from "./src/App";
|
||||||
|
|
||||||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
|
||||||
// It also ensures that whether you load the app in Expo Go or in a native build,
|
// It also ensures that whether you load the app in Expo Go or in a native build,
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "railbird-rn",
|
"name": "railbird-rn",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "node_modules/expo/AppEntry.js",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=development && expo start",
|
"start": "NODE_ENV=development && expo start",
|
||||||
"start:android": "expo start --android",
|
"start:android": "expo start --android",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import { AuthProvider } from "./src/context";
|
import { AuthProvider } from "./context";
|
||||||
import { ClientProvider } from "./src/graphql/client";
|
import { ClientProvider } from "./graphql/client";
|
||||||
import AppNavigator from "./src/navigation/app-navigator";
|
import AppNavigator from "./navigation/app-navigator";
|
||||||
|
|
||||||
const App: React.FC = () => {
|
const App: React.FC = () => {
|
||||||
return (
|
return (
|
Loading…
Reference in New Issue
Block a user