@sikka/hawa 0.15.17-next → 0.15.18-next
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4436,7 +4436,7 @@ var import_react16 = __toESM(require("react"));
|
|
|
4436
4436
|
var FileUploader = function(param) {
|
|
4437
4437
|
var handleFile = param.handleFile, className = param.className;
|
|
4438
4438
|
var hiddenFileInput = (0, import_react16.useRef)(null);
|
|
4439
|
-
var handleClick = function(
|
|
4439
|
+
var handleClick = function() {
|
|
4440
4440
|
var _hiddenFileInput_current;
|
|
4441
4441
|
(_hiddenFileInput_current = hiddenFileInput.current) === null || _hiddenFileInput_current === void 0 ? void 0 : _hiddenFileInput_current.click();
|
|
4442
4442
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -3947,7 +3947,7 @@ import React30 from "react";
|
|
|
3947
3947
|
import React29, { useRef as useRef5 } from "react";
|
|
3948
3948
|
var FileUploader = ({ handleFile, className }) => {
|
|
3949
3949
|
const hiddenFileInput = useRef5(null);
|
|
3950
|
-
const handleClick = (
|
|
3950
|
+
const handleClick = () => {
|
|
3951
3951
|
hiddenFileInput.current?.click();
|
|
3952
3952
|
};
|
|
3953
3953
|
const handleChange = (event) => {
|