-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Labels
bug ๐Something isn't workingSomething isn't workingdocumentation ๐Improvements or additions to documentationImprovements or additions to documentation
Description
๐ Which page are you reading?
https://ant-design-charts.antgroup.com/en/examples/relations/flow-direction-graph/#custom
๐ญ What's on your mind?
Example needs fixing / ็คบไพ้่ฆไฟฎๅค
๐ค Tell us more
If you follow the link to CodeSandbox example, the sandbox is broken due to createRoot is not a function error
because of wrong import:
import { createRoot } from 'react-dom';
// should be
import { createRoot } from 'react-dom/client';
After updating the import, the example is still not working with error: EventEmitter is not a constructor
.

You can view the update sandbox at https://codesandbox.io/p/sandbox/green-currying-m5f6x5
๐ก Got any suggestions?
No response
Metadata
Metadata
Assignees
Labels
bug ๐Something isn't workingSomething isn't workingdocumentation ๐Improvements or additions to documentationImprovements or additions to documentation