From 35253348d2d1f2a71dec28de93ae40bd2ae053d9 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sat, 4 Sep 2021 10:15:02 +0100 Subject: [PATCH] Revert "Migrate to stitches 1.0.0, fix a few bugs" This reverts commit fea9e727fd2aeeb5e5e414460b0e2f1a829e0963. --- packages/www/package.json | 2 +- packages/www/pages/_document.tsx | 4 ++-- packages/www/pages/api/auth/[...nextauth].ts | 16 ++++++---------- packages/www/pages/sponsorware.tsx | 7 +++---- packages/www/public/sw.js | 2 +- packages/www/public/sw.js.map | 2 +- ...pLKFsC.js => worker-9zorZIgg-EzXvsnHBrTO_.js} | 0 packages/www/styles/stitches.config.ts | 8 ++++---- yarn.lock | 5 +++++ 9 files changed, 23 insertions(+), 23 deletions(-) rename packages/www/public/{worker-ZSKPWmeLuzbDpY-pLKFsC.js => worker-9zorZIgg-EzXvsnHBrTO_.js} (100%) diff --git a/packages/www/package.json b/packages/www/package.json index ee9ca9326..fd71ff6b2 100644 --- a/packages/www/package.json +++ b/packages/www/package.json @@ -23,7 +23,7 @@ "@sentry/react": "^6.12.0", "@sentry/tracing": "^6.12.0", "@sentry/webpack-plugin": "^1.17.1", - "@stitches/react": "^1.0.0", + "@stitches/react": "^0.2.3", "@tldraw/tldraw": "^0.0.57", "browser-fs-access": "^0.20.4", "gtag": "^1.0.1", diff --git a/packages/www/pages/_document.tsx b/packages/www/pages/_document.tsx index 210cdb86e..268def8f5 100644 --- a/packages/www/pages/_document.tsx +++ b/packages/www/pages/_document.tsx @@ -1,5 +1,5 @@ import NextDocument, { Html, Head, Main, NextScript, DocumentContext } from 'next/document' -import { getCssText } from '-styles' +import { getCssString } from 'styles' import { GA_TRACKING_ID } from '-utils/gtag' class MyDocument extends NextDocument { @@ -11,7 +11,7 @@ class MyDocument extends NextDocument { styles: ( <> {initialProps.styles} -