diff --git a/repl/src/useRepl.ts b/repl/src/useRepl.ts index 5c4ff1d7..09a7b73e 100644 --- a/repl/src/useRepl.ts +++ b/repl/src/useRepl.ts @@ -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 } }) => {