diff --git a/phone/src/apps/sellout/components/SelloutApp.tsx b/phone/src/apps/sellout/components/SelloutApp.tsx index da0a277..4a9d4b1 100644 --- a/phone/src/apps/sellout/components/SelloutApp.tsx +++ b/phone/src/apps/sellout/components/SelloutApp.tsx @@ -3,23 +3,18 @@ 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"; +import {ListingForm} from "./form/ListingForm"; export const SelloutApp = () => { return ( - - - - + + - ); }; diff --git a/phone/src/apps/sellout/components/form/ListingFormContainer.tsx b/phone/src/apps/sellout/components/form/ListingFormContainer.tsx deleted file mode 100644 index 0823fb6..0000000 --- a/phone/src/apps/sellout/components/form/ListingFormContainer.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import React from "react"; -import { ListingForm } from "./ListingForm"; - -export const ListingFormContainer = () => { - return ( -
- -
- ); -}; diff --git a/phone/src/apps/sellout/components/navigation/NavigationBar.tsx b/phone/src/apps/sellout/components/navigation/NavigationBar.tsx deleted file mode 100644 index 75b4c30..0000000 --- a/phone/src/apps/sellout/components/navigation/NavigationBar.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import React, { useState } from 'react'; -import { makeStyles } from '@material-ui/core/styles'; -import { Link } from 'react-router-dom'; -import { BottomNavigation, BottomNavigationAction } from '@material-ui/core'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faHome } from '@fortawesome/free-solid-svg-icons'; -import AddCircleIcon from '@material-ui/icons/AddCircle'; - -const useStyles = makeStyles((theme) => ({ - root: { - width: '100%', - backgroundColor: '#262525', - }, - icon: { - color: '#f44336', - }, -})); - -export const NavigationBar = () => { - const classes = useStyles(); - const [activePage, setActivePage] = useState(0); - return ( - { - setActivePage(newPage); - }} - showLabels - className={classes.root} - > - } - to='/sellout' - /> - } - to='/sellout/new' - /> - - ); -};