From b1acf13e68e3d0b0be73f09912d33e3c464df579 Mon Sep 17 00:00:00 2001
From: regalijan <r@regalijan.com>
Date: Thu, 19 Oct 2023 16:49:16 -0400
Subject: [PATCH] Move expect-error directive to correct spot

---
 app/createEmotionCache.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/createEmotionCache.ts b/app/createEmotionCache.ts
index 816493b..43ebf0d 100644
--- a/app/createEmotionCache.ts
+++ b/app/createEmotionCache.ts
@@ -3,10 +3,10 @@ import createCache from "@emotion/cache";
 export const defaultCache = createEmotionCache();
 
 export default function createEmotionCache() {
-  // @ts-expect-error
   // The browser throws when calling .default, but the server throws if we don't call .default
   // Of course!
   return typeof document === "undefined"
     ? createCache.default({ key: "cha" })
-    : createCache({ key: "cha" });
+    : // @ts-expect-error
+      createCache({ key: "cha" });
 }