Commit c56873f
authored
Fix
Fix `src/pages/admin/markdown/Markdown.tsx:77:26 - error TS2604: JSX element type 'ReactMarkdown' does not have any construct or call signatures.`
Related to, remarkjs/react-markdown#207 -- Since the `tsconfig.json` already has `allowSyntheticDefaultImports: true` all that is needed to resolve this is to import it as the explicit import name instead of `* as ExplicitImportName`.tsc error related to the ReactMarkdown import syntax.1 parent c2b6d62 commit c56873f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments