fixes mini repl

This commit is contained in:
Felix Roos
2022-03-18 21:55:51 +01:00
parent aef7f7bbc2
commit b7a61cbd99
+1 -1
View File
@@ -104,7 +104,7 @@ function useRepl({ tune, defaultSynth, autolink = true, onEvent, onDraw }: any)
[pattern]
),
onSchedule: useCallback((_events, cycle) => logCycle(_events, cycle), [pattern]),
ready: !!pattern,
ready: !!pattern && !!activeCode,
});
const broadcast = usePostMessage(({ data: { from, type } }) => {