From f625dde387b9936933c4218d6ca8827850f56c78 Mon Sep 17 00:00:00 2001 From: Thomas Jacob Date: Fri, 6 Apr 2018 14:24:50 +0200 Subject: [PATCH] fix(preview): wrong DOM reference prevents rendering --- .../typescript-react-analyzer/typescript-react-analyzer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styleguide/analyzer/typescript-react-analyzer/typescript-react-analyzer.ts b/src/styleguide/analyzer/typescript-react-analyzer/typescript-react-analyzer.ts index 0dd0c38c7..ba9f90bfb 100644 --- a/src/styleguide/analyzer/typescript-react-analyzer/typescript-react-analyzer.ts +++ b/src/styleguide/analyzer/typescript-react-analyzer/typescript-react-analyzer.ts @@ -198,6 +198,6 @@ export class Analyzer extends StyleguideAnalyzer { * @inheritdoc */ public render(): void { - ReactDom.render(React.createElement(PreviewApp), document.getElementById('app')); + ReactDom.render(React.createElement(PreviewApp), document.getElementById('preview')); } }