-
-
Notifications
You must be signed in to change notification settings - Fork 445
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working