mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 14:26:58 -04:00
fix: share now shares what's visible instead of active
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user