App.jsx now loads the header and the main script that holds our routes.
This commit is contained in:
@@ -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>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user