diff --git a/packages/example-app-base/src/components/ExampleCard/ExampleCard.tsx b/packages/example-app-base/src/components/ExampleCard/ExampleCard.tsx index e9a9de7d53693..1744b40822aa3 100644 --- a/packages/example-app-base/src/components/ExampleCard/ExampleCard.tsx +++ b/packages/example-app-base/src/components/ExampleCard/ExampleCard.tsx @@ -188,7 +188,7 @@ export class ExampleCardBase extends React.Component { - if (!this.Editor && !this.EditorPreview) { + if (this.canRenderLiveEditor && !this.Editor && !this.EditorPreview) { this.Editor = React.lazy(() => import('@uifabric/tsx-editor/lib/components/Editor')); this.EditorPreview = React.lazy(() => import('@uifabric/tsx-editor/lib/components/EditorPreview')); }