diff --git a/packages/website/src/pages/playground.js b/packages/website/src/pages/playground.js index 661aeedd..fa39977f 100644 --- a/packages/website/src/pages/playground.js +++ b/packages/website/src/pages/playground.js @@ -23,7 +23,11 @@ function getHashData() { function setHashData(data) { const text = JSON.stringify({ ...getHashData(), ...data }); const compressed = deflate(text, { level: 9 }); - window.location.hash = encodeURIComponent(fromByteArray(compressed)); + window.history.replaceState( + undefined, + "", + "#" + encodeURIComponent(fromByteArray(compressed)) + ); } export default function PlaygroundPage() {