text: import React from "react";
  import { Router, Route, Switch } from "react-router-dom";
  import StreamCreate from "./components/streams/StreamCreate";
  import StreamEdit from "./components/streams/StreamEdit";
  import StreamDelete from "./components/streams/StreamDelete";
  import StreamList from "./components/streams/StreamList";
  import StreamShow from "./components/streams/StreamShow";
  import Header from "./components/Header";
  import history from "./history";
  
  const App = () => {
  	return (
  		<div className="ui container">
  			<Router history={history}>
  				<div>
  					<Header />
  					{/* Switch will look at routes and will only show one of those routes  */}
  					<Switch>
  						<Route path="/" exact component={StreamList} />
  						<Route path="/streams/new" exact component={StreamCreate} />
  						<Route path="/streams/edit/:id" exact component={StreamEdit} />
  						<Route path="/streams/delete/:id" exact component={StreamDelete} />
  						<Route path="/streams/:id" exact component={StreamShow} />
  					</Switch>
  				</div>
  			</Router>
  		</div>
  	);
  };
  
  export default App;
  