Skip to content

Commit 5a9cb94

Browse files
fix react upgrade bug
1 parent ad583ec commit 5a9cb94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dtable-ui-component",
3-
"version": "6.0.4",
3+
"version": "6.0.5",
44
"main": "./lib/index.js",
55
"dependencies": {
66
"@seafile/react-image-lightbox": "4.0.0",

src/DTableFiltersPopover/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class DTableFiltersPopover extends Component {
157157
className="dtable-filter-popover"
158158
boundariesElement={document.body}
159159
>
160-
{({ scheduleUpdate }) => (
160+
{({ update: scheduleUpdate }) => (
161161
<div ref={ref => this.dtablePopoverRef = ref} onClick={this.onPopoverInsideClick} className={className}>
162162
<FiltersList
163163
filterConjunction={filterConjunction}

0 commit comments

Comments
 (0)