From 7eb2f7659e9153e6d960b20b13b2d5bbe907e656 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 12 Mar 2024 08:38:11 +0100 Subject: [PATCH] fix: share now shares what's visible instead of active --- website/src/repl/Repl.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/repl/Repl.jsx b/website/src/repl/Repl.jsx index 31058ac0..6c2c307b 100644 --- a/website/src/repl/Repl.jsx +++ b/website/src/repl/Repl.jsx @@ -210,7 +210,7 @@ export function Repl({ embedded = false }) { editorRef.current.repl.evaluate(code); }; - const handleShare = async () => shareCode(activeCode); + const handleShare = async () => shareCode(replState.code); const context = { embedded, started,