You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import React from 'react'
import { Canvas } from 'react-design-editor'
const MarketingTool = () => {
return (
<>
MarketingTool
</>
)
}
export default MarketingTool
This code is working fine in React version 16.13.1 but not in a with React version 18.2.0,
getting this error
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app
The text was updated successfully, but these errors were encountered:
Ejaz7860
changed the title
react-design-editor not working in React versuin 18.0.2
react-design-editor is not working in React version 18.0.2
May 13, 2024
Ejaz7860
changed the title
react-design-editor is not working in React version 18.0.2
react-design-editor is not working in React version 18.2.0
May 13, 2024
import React from 'react'
import { Canvas } from 'react-design-editor'
const MarketingTool = () => {
return (
<>
</>
)
}
export default MarketingTool
This code is working fine in React version 16.13.1 but not in a with React version 18.2.0,
getting this error
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
The text was updated successfully, but these errors were encountered: