mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Sellout app changed to TS, like how did I not see that
This commit is contained in:
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>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user