mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-23 03:28:33 +00:00
fix: share now shares what's visible instead of active
This commit is contained in:
parent
d0c68e91dc
commit
7eb2f7659e
@ -210,7 +210,7 @@ export function Repl({ embedded = false }) {
|
|||||||
editorRef.current.repl.evaluate(code);
|
editorRef.current.repl.evaluate(code);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleShare = async () => shareCode(activeCode);
|
const handleShare = async () => shareCode(replState.code);
|
||||||
const context = {
|
const context = {
|
||||||
embedded,
|
embedded,
|
||||||
started,
|
started,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user