chore(virtual-list): remove useless line ()

This commit is contained in:
kooriookami 2021-07-03 22:30:23 +08:00 committed by GitHub
parent a7df202724
commit af88436258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,6 @@ const FixedSizeGrid = createGrid({
clearCache: true,
validateProps: ({ columnWidth, rowHeight }) => {
if (process.env.NODE_ENV !== 'production') {
if (process.env.NODE_ENV !== 'production') {
if (!isNumber(columnWidth)) {
throwError(SCOPE, `
@ -221,7 +220,6 @@ const FixedSizeGrid = createGrid({
`)
}
}
}
},
})