diff --git a/src/app/App.js b/src/app/App.js
index 1ad52ea..0dd562b 100644
--- a/src/app/App.js
+++ b/src/app/App.js
@@ -9,11 +9,14 @@ import { useAuth0 } from "@auth0/auth0-react";
import buildApolloClient from "./apolloClient";
import PageLayout from "./PageLayout";
+import WardrobePageLayout from "./WardrobePage/WardrobePageLayout";
const ItemsPage = loadable(() => import("./ItemsPage"));
const HomePage = loadable(() => import("./HomePage"));
const ModelingPage = loadable(() => import("./ModelingPage"));
-const WardrobePage = loadable(() => import("./WardrobePage"));
+const WardrobePage = loadable(() => import("./WardrobePage"), {
+ fallback: ,
+});
const theme = {
...defaultTheme,
diff --git a/src/app/WardrobePage/WardrobePageLayout.js b/src/app/WardrobePage/WardrobePageLayout.js
new file mode 100644
index 0000000..05da392
--- /dev/null
+++ b/src/app/WardrobePage/WardrobePageLayout.js
@@ -0,0 +1,47 @@
+import React from "react";
+import { Box, Grid } from "@chakra-ui/core";
+
+function WardrobePageLayout({ preview, controls, itemsAndSearch }) {
+ return (
+
+
+
+
+ {preview}
+
+
+ {controls}
+
+
+ {itemsAndSearch}
+
+
+ );
+}
+
+export default WardrobePageLayout;
diff --git a/src/app/WardrobePage/index.js b/src/app/WardrobePage/index.js
index 0a5ffa8..5fa8dd0 100644
--- a/src/app/WardrobePage/index.js
+++ b/src/app/WardrobePage/index.js
@@ -1,5 +1,5 @@
import React from "react";
-import { Box, Grid, useToast } from "@chakra-ui/core";
+import { useToast } from "@chakra-ui/core";
import loadable from "@loadable/component";
import ItemsAndSearchPanels from "./ItemsAndSearchPanels";
@@ -7,6 +7,7 @@ import OutfitPreview from "../components/OutfitPreview";
import SupportOnly from "./support/SupportOnly";
import useOutfitState, { OutfitStateContext } from "./useOutfitState";
import { usePageTitle } from "../util";
+import WardrobePageLayout from "./WardrobePageLayout";
const OutfitControls = loadable(() =>
import(/* webpackPreload: true */ "./OutfitControls")
@@ -54,59 +55,30 @@ function WardrobePage() {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ }
+ controls={
+
+ }
+ itemsAndSearch={
+
+ }
+ />
);
}