Skip to content

Commit 925103e

Browse files
authored
docs: 修复文档中 ReactDOM 引入错误的问题 (#2156)
1 parent ebab538 commit 925103e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/docs/tutorial/framework/react.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npm install @antv/f-react --save
1616

1717
```jsx
1818
import React from 'react';
19-
import ReactDOM from 'react';
19+
import ReactDOM from 'react-dom';
2020
import Canvas from '@antv/f-react';
2121
import { Chart, Interval } from '@antv/f2';
2222

0 commit comments

Comments
 (0)