Skip to content

Commit

Permalink
Step 1.6: Move app code to /src
Browse files Browse the repository at this point in the history
  • Loading branch information
srtucker22 authored and Simon Tucker committed Aug 26, 2018
1 parent f29dc55 commit a5f81f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @format */

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

AppRegistry.registerComponent(appName, () => App);
3 changes: 1 addition & 2 deletions client/App.js → client/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ const instructions = Platform.select({
'Shake or press menu button for dev menu',
});

type Props = {};
export default class App extends Component<Props> {
export default class App extends Component {
render() {
return (
<View style={styles.container}>
Expand Down

0 comments on commit a5f81f9

Please sign in to comment.