App.jsx now loads the header and the main script that holds our routes.

This commit is contained in:
2017-10-06 12:01:30 +02:00
parent 0b79c8679d
commit ed1d0f3c39

View File

@@ -1,27 +1,12 @@
/* import React, { Component } from "react";
./app/components/App.jsx import Header from './Header.jsx';
import Main from './Main.jsx';
<FetchData url={"https://apollo.kevinmidboe.com/api/v1/plex/playing"} /> const App = () => (
*/ <div>
import React from 'react'; <Header />
import FetchData from './FetchData.js'; <Main />
import ListStrays from './ListStrays.jsx' </div>
import SearchRequest from './SearchRequest.jsx'; )
export default class App extends React.Component { export default App
// <div>
// <h1>Welcome to Seasoned</h1>
// </div>
// <ListStrays />
// <FetchData />
render() {
return (
<div>
<SearchRequest />
</div>
);
}
}