1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:46:39 -04:00

bump next to stable

This commit is contained in:
2022-07-08 13:24:38 -04:00
parent 295301aa9e
commit 54d0b6eac0
14 changed files with 155 additions and 166 deletions

View File

@ -4,6 +4,7 @@ import { getCssText, reset, themeClassNames, themeStorageKey, preloadFonts } fro
import * as config from "../lib/config";
// ensure the server can handle multiple requests without accumulating previous visitors' stylesheets
// https://stitches.dev/blog/using-nextjs-with-stitches#step-3-ssr
const getCssAndReset = () => {
const css = getCssText();
reset();
@ -30,7 +31,6 @@ const Document = () => {
/>
))}
{/* stitches SSR: https://stitches.dev/blog/using-nextjs-with-stitches#step-3-ssr */}
<style id="stitches" dangerouslySetInnerHTML={{ __html: getCssAndReset() }} />
</Head>
<body>