mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
26 lines
855 B
TypeScript
26 lines
855 B
TypeScript
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>
|
|
);
|
|
};
|