docs: remove unnecessary code (#25738)

Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
This commit is contained in:
hoho2017 2020-07-22 10:05:44 +08:00 committed by GitHub
parent 7d7cbf803b
commit 6e8a14d62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ function VirtualTable(props) {
}}
height={scroll.y}
rowCount={rawData.length}
rowHeight={() => 54}
rowHeight={54}
width={tableWidth}
onScroll={({ scrollLeft }) => {
onScroll({ scrollLeft });