diff --git a/src/app/PageLayout.js b/src/app/PageLayout.js index f7b807c..6142ff0 100644 --- a/src/app/PageLayout.js +++ b/src/app/PageLayout.js @@ -1,6 +1,6 @@ import React from "react"; import { Box } from "@chakra-ui/react"; -import loadable from "@loadable/component"; +import { loadable } from "./util"; const GlobalHeader = loadable(() => import("./GlobalHeader")); const GlobalFooter = loadable(() => import("./GlobalFooter")); diff --git a/src/app/WardrobePage/Item.js b/src/app/WardrobePage/Item.js index eaa4939..a7c12e3 100644 --- a/src/app/WardrobePage/Item.js +++ b/src/app/WardrobePage/Item.js @@ -11,7 +11,7 @@ import { } from "@chakra-ui/react"; import { EditIcon, DeleteIcon, InfoIcon } from "@chakra-ui/icons"; import { Link } from "react-router-dom"; -import loadable from "@loadable/component"; +import { loadable } from "../util"; import { ItemCardContent, diff --git a/src/app/WardrobePage/PosePicker.js b/src/app/WardrobePage/PosePicker.js index 68c467d..0f5d914 100644 --- a/src/app/WardrobePage/PosePicker.js +++ b/src/app/WardrobePage/PosePicker.js @@ -15,7 +15,7 @@ import { useColorModeValue, useTheme, } from "@chakra-ui/react"; -import loadable from "@loadable/component"; +import { loadable } from "../util"; import { getVisibleLayers, diff --git a/src/app/WardrobePage/index.js b/src/app/WardrobePage/index.js index d931f9b..d2ed12d 100644 --- a/src/app/WardrobePage/index.js +++ b/src/app/WardrobePage/index.js @@ -1,6 +1,6 @@ import React from "react"; import { useToast } from "@chakra-ui/react"; -import loadable from "@loadable/component"; +import { loadable } from "../util"; import ItemsAndSearchPanels from "./ItemsAndSearchPanels"; import SupportOnly from "./support/SupportOnly";