Fixed react create element error for rendering mdx pages
This commit is contained in:
committed by
fabioberger
parent
63db393b60
commit
c01793599f
@@ -43,7 +43,7 @@ interface IDocsPageState {
|
||||
|
||||
export const DocsPage: React.FC<IDocsPageProps> = props => {
|
||||
const [state, setState] = React.useState<IDocsPageState>({
|
||||
Component: null,
|
||||
Component: '',
|
||||
contents: [],
|
||||
title: '',
|
||||
subtitle: '',
|
||||
|
||||
Reference in New Issue
Block a user