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 @@
/*
./app/components/App.jsx
<FetchData url={"https://apollo.kevinmidboe.com/api/v1/plex/playing"} />
*/
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 = () => (
<div>
<Header />
<Main />
</div>
)
// <div>
// <h1>Welcome to Seasoned</h1>
// </div>
// <ListStrays />
// <FetchData />
render() {
return (
<div>
<SearchRequest />
</div>
);
}
}
export default App