Type ‘{}’ is not assignable to type ‘ReactNode’ module not used as JSX
module cannot be used as a JSX component; Type ‘{}’ is not assignable to type ‘ReactNode’ because React 18 has some breaking changes like ReactDOM.render() is deprecated. You need to…