diff --git a/components/PreviewColumn.js b/components/PreviewColumn.js index e71879a..415f247 100644 --- a/components/PreviewColumn.js +++ b/components/PreviewColumn.js @@ -1,4 +1,5 @@ import ReactMarkdown from 'react-markdown' + import { TAB } from '../utils/constants' import RawPreview from './RawPreview' @@ -19,7 +20,17 @@ export const PreviewColumn = ({ selectedSectionSlugs, getTemplate, selectedTab } }`} > {showPreview ? ( - + ( + + {props.children} + + ), + }} + /> ) : ( )}