feat: productionize learning engine and classroom
This commit is contained in:
@@ -31,7 +31,9 @@ export function InteractiveRenderer({ content, sceneId }: InteractiveRendererPro
|
||||
const setActive = useInteractiveIframePool((s) => s.setActive);
|
||||
|
||||
const patchedHtml = useMemo(
|
||||
() => (content.html ? patchHtmlForIframe(content.html) : undefined),
|
||||
() => (content.html ? patchHtmlForIframe(content.html, {
|
||||
offline: typeof window !== 'undefined' && window.__MAKELORE_OFFLINE_PLAYER__ === true,
|
||||
}) : undefined),
|
||||
[content.html],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user