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
commit 7efea5726b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,