We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fadd1d5 commit 0772cfdCopy full SHA for 0772cfd
packages/gephi-lite/src/designSystem/index.tsx
@@ -1,5 +1,5 @@
1
import { keys } from "lodash";
2
-import { FC } from "react";
+import { FC, createElement } from "react";
3
import { Link, useParams } from "react-router";
4
5
// ADD PAGES
@@ -27,7 +27,7 @@ const DesignSystemPage: FC = () => {
27
))}
28
</ul>
29
30
- {page && page in PARAM_2_PAGE && PARAM_2_PAGE[page]({})}
+ {page && page in PARAM_2_PAGE && createElement(PARAM_2_PAGE[page])}
31
</div>
32
);
33
};
0 commit comments