Skip to content

Commit ff1f3ad

Browse files
authored
fix: allow non markdown pages to render correctly
1 parent 9c00011 commit ff1f3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class MDXRuntimeTest extends Component {
1515
const { data } = this.props;
1616

1717
if (!data) {
18-
return null;
18+
return this.props.children;
1919
}
2020
const {
2121
allMdx,

0 commit comments

Comments
 (0)