mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 21:58:31 +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);
|
||||
};
|
||||
|
||||
const handleShare = async () => shareCode(activeCode);
|
||||
const handleShare = async () => shareCode(replState.code);
|
||||
const context = {
|
||||
embedded,
|
||||
started,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user