@parqui/react 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1618,7 +1618,7 @@ function Toolbar({
1618
1618
  const fileInputRef = (0, import_react10.useRef)(null);
1619
1619
  const handleOpenClick = (0, import_react10.useCallback)(() => {
1620
1620
  if (onRequestOpen) {
1621
- onRequestOpen();
1621
+ void onRequestOpen();
1622
1622
  } else {
1623
1623
  fileInputRef.current?.click();
1624
1624
  }
@@ -3184,7 +3184,7 @@ function Parkui({
3184
3184
  searchText: search.searchText,
3185
3185
  onSearchChange: search.handleSearchChange,
3186
3186
  onClearSearch: search.clearSearch,
3187
- onRequestOpen,
3187
+ onRequestOpen: onRequestOpen ? handleCustomOpen : void 0,
3188
3188
  onFileSelect: handleFileSelect,
3189
3189
  onClose: handleClose,
3190
3190
  onRemoveSort: handleRemoveSort,