summaryrefslogtreecommitdiff
path: root/src/app.js
diff options
context:
space:
mode:
authorKamran Ahmed <kamranahmed.se@gmail.com>2018-08-19 14:23:27 +0400
committerKamran Ahmed <kamranahmed.se@gmail.com>2018-08-19 14:23:27 +0400
commit5c7e6dd54e90708e1be7ef540b06ad08e3d82ace (patch)
treee1df36af400e1c7e6e4fc47f0f55d268956a602a /src/app.js
parentUpdate favicon and add home (diff)
downloadgithunt-5c7e6dd54e90708e1be7ef540b06ad08e3d82ace.tar.gz
Restructure and add router
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
new file mode 100644
index 0000000..83bbe84
--- /dev/null
+++ b/src/app.js
@@ -0,0 +1,12 @@
+import React, { Component } from 'react';
+import AppRoutes from './router';
+
+class App extends Component {
+ render() {
+ return (
+ <AppRoutes/>
+ );
+ }
+}
+
+export default App;