From ed1d0f3c394c9a3f4d479cd7f3e8561ba1e795c4 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 6 Oct 2017 12:01:30 +0200 Subject: [PATCH] App.jsx now loads the header and the main script that holds our routes. --- client/app/components/App.jsx | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/client/app/components/App.jsx b/client/app/components/App.jsx index edc567c..6f87df6 100644 --- a/client/app/components/App.jsx +++ b/client/app/components/App.jsx @@ -1,27 +1,12 @@ -/* - ./app/components/App.jsx - - -*/ -import React from 'react'; -import FetchData from './FetchData.js'; -import ListStrays from './ListStrays.jsx' -import SearchRequest from './SearchRequest.jsx'; +import React, { Component } from "react"; +import Header from './Header.jsx'; +import Main from './Main.jsx'; -export default class App extends React.Component { +const App = () => ( +
+
+
+
+) - //
- //

Welcome to Seasoned

- //
- // - - // - render() { - return ( -
- - -
- ); - } -} \ No newline at end of file +export default App \ No newline at end of file