Added my shop page and ability to add, edit and delete employees.

This commit is contained in:
Patrick Fic
2020-02-10 12:45:20 -08:00
parent 9d9de14cf0
commit cac3716e03
42 changed files with 1444 additions and 52 deletions

View File

@@ -39,6 +39,8 @@ const OwnersContainer = lazy(() => import("../owners/owners.page.container"));
const OwnersDetailContainer = lazy(() =>
import("../owners-detail/owners-detail.page.container")
);
const ShopPage = lazy(() => import("../shop/shop.page.component"));
const { Header, Content, Footer } = Layout;
export default function Manage({ match }) {
@@ -56,7 +58,10 @@ export default function Manage({ match }) {
<Layout>
<ChatWindowContainer />
<Content className="content-container" style={{ margin: "0px" }}>
<Content
className="content-container"
style={{ padding: "0em 4em 4em" }}
>
<ErrorBoundary>
<Suspense
fallback={
@@ -113,6 +118,8 @@ export default function Manage({ match }) {
path={`${match.path}/available`}
component={JobsAvailablePage}
/>
<Route exact path={`${match.path}/shop/`} component={ShopPage} />
</Suspense>
</ErrorBoundary>
</Content>