mirror of
https://github.com/foomo/foomo-docs.git
synced 2025-10-16 12:35:40 +00:00
fix: ssr fixes
This commit is contained in:
parent
e8e443f1e0
commit
e17d1f23b6
@ -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 (
|
||||
<div>
|
||||
<Highlight {...defaultProps} code={props.children} language="tsx">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user