Skip to content

Commit

Permalink
JSAEM2-12 style: refactor the folder structure (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCTH authored and ikarasz committed Dec 4, 2019
1 parent 59a1e4b commit 171ca1e
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion MoneyHoney/package.json → package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"main": "node_modules/expo/AppEntry.js",
"main": "src/App.jsx",
"scripts": {
"start": "expo start",
"android": "expo start --android",
Expand Down
19 changes: 10 additions & 9 deletions MoneyHoney/App.jsx → src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { registerRootComponent } from 'expo';
import { Provider } from 'react-redux';

import store from './redux/store';
Expand All @@ -13,12 +14,12 @@ const styles = StyleSheet.create({
},
});

export default function App() {
return (
<Provider store={store}>
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
</View>
</Provider>
);
}
const App = () => (
<Provider store={store}>
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
</View>
</Provider>
);

registerRootComponent(App);
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 171ca1e

Please sign in to comment.