diff --git a/packages/learn/src/templates/Challenges/utils/frame.js b/packages/learn/src/templates/Challenges/utils/frame.js index 28511ab557..fa1dec6c38 100644 --- a/packages/learn/src/templates/Challenges/utils/frame.js +++ b/packages/learn/src/templates/Challenges/utils/frame.js @@ -83,7 +83,7 @@ const buildProxyConsole = proxyLogger => ctx => { const oldLog = ctx.window.console.log.bind(ctx.window.console); ctx.window.__console = {}; ctx.window.__console.log = function proxyConsole(...args) { - proxyLogger.onNext(args); + proxyLogger.next(args); return oldLog(...args); }; return ctx;