Oops I broke the wardrobe page lmao!
Missed a spot when deleting that extra `NextIndexWrapper` file! lol oops
This commit is contained in:
parent
4cd847f6ba
commit
c22d1c2edc
2 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ import dynamic from "next/dynamic";
|
||||||
// try changing "ssr" to true below to test for incompatibilities, if
|
// try changing "ssr" to true below to test for incompatibilities, if
|
||||||
// no errors occur the above static import can be used instead and the
|
// no errors occur the above static import can be used instead and the
|
||||||
// below removed
|
// below removed
|
||||||
const NextIndexWrapper = dynamic(() => import("../../src"), { ssr: false });
|
const App = dynamic(() => import("../../src/app/App"), { ssr: false });
|
||||||
|
|
||||||
export default function Page({ outfit, ...props }) {
|
export default function Page({ outfit, ...props }) {
|
||||||
return (
|
return (
|
||||||
|
@ -24,7 +24,7 @@ export default function Page({ outfit, ...props }) {
|
||||||
<title>{outfit.name || "Untitled outfit"} | Dress to Impress</title>
|
<title>{outfit.name || "Untitled outfit"} | Dress to Impress</title>
|
||||||
<OutfitMetaTags outfit={outfit} />
|
<OutfitMetaTags outfit={outfit} />
|
||||||
</Head>
|
</Head>
|
||||||
<NextIndexWrapper {...props} />
|
<App {...props} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,8 @@ import dynamic from "next/dynamic";
|
||||||
// try changing "ssr" to true below to test for incompatibilities, if
|
// try changing "ssr" to true below to test for incompatibilities, if
|
||||||
// no errors occur the above static import can be used instead and the
|
// no errors occur the above static import can be used instead and the
|
||||||
// below removed
|
// below removed
|
||||||
const NextIndexWrapper = dynamic(() => import("../../src"), { ssr: false });
|
const App = dynamic(() => import("../../src/app/App"), { ssr: false });
|
||||||
|
|
||||||
export default function Page(props) {
|
export default function Page(props) {
|
||||||
return <NextIndexWrapper {...props} />;
|
return <App {...props} />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue