From e17d1f23b6b4ce2501b09508c27e73df16d25fd0 Mon Sep 17 00:00:00 2001 From: Philipp Mieden Date: Thu, 18 Sep 2025 13:54:18 +0200 Subject: [PATCH] fix: ssr fixes --- foomo/src/components/TypeScriptPlayground.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foomo/src/components/TypeScriptPlayground.tsx b/foomo/src/components/TypeScriptPlayground.tsx index 4c31bcd..a7663c4 100644 --- a/foomo/src/components/TypeScriptPlayground.tsx +++ b/foomo/src/components/TypeScriptPlayground.tsx @@ -168,7 +168,7 @@ const LZString = (() => { export const TypeScriptPlayground = (props: { children: string }) => { const url = "https://www.typescriptlang.org/play?#code/" + - escape(LZString.compressToEncodedURIComponent(props.children)); + encodeURIComponent(LZString.compressToEncodedURIComponent(props.children)); return (