react demo 1 compile fail - 'SVG' cannot be used as a JSX component.
the theme is not touched at all but cannot be built due to compile errors:
$ npm run build
> firstname.lastname@example.org build
> react-scripts build
Creating an optimized production build...
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 13 |
15 | )
16 | }
Just used package.json and yarn.lock from the below URL and everything seems to be fine. Why don't the theme is not being updated with correct files?
We are releasing (Metronic v8.039) new demos 6+7 for React version and a full upgrade for all demos to react 18. ETA is early May.
For now, just need to use a workaround from the doc: https://preview.keenthemes.com/metronic8/react/docs/docs/quick-start