Merge pull request #985 from tidalcycles/share-fix

fix: share now shares what's visible instead of active
This commit is contained in:
Felix Roos
2024-03-13 00:36:22 +01:00
committed by GitHub
+1 -1
View File
@@ -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,