Sellout app changed to TS, like how did I not see that

This commit is contained in:
chip committed 2020-10-10 22:40:47 +02:00
1 parent 9db4c7e0be
commit 63de2d9c56
8 files changed

No files matched your search

@@ -0,0 +1,25 @@
import React from "react";
import { AppWrapper } from "../../../ui/components/AppWrapper";
import { AppContent } from "../../../ui/components/AppContent";
import { SelloutTitle } from "./SelloutTitle";
import { SelloutListContainer } from "./SelloutList/SelloutListContainer";
import { NavigationBar } from "./navigation/NavigationBar";
import { Switch, Route } from "react-router-dom";
import "./Sellout.css";
import { ListingFormContainer } from "./form/ListingFormContainer";
export const SelloutApp = () => {
return (
<AppWrapper id="sellout-app">
<SelloutTitle />
<AppContent>
<Switch>
<Route path="/sellout" exact component={SelloutListContainer} />
<Route path="/sellout/new" component={ListingFormContainer} />
</Switch>
</AppContent>
<NavigationBar />
</AppWrapper>
);
};