aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/UploadButton.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-04 19:11:12 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit8d88e399d68f892e073b9d075a3850953032fa3c (patch)
treec44d70670925e0d96c5c7e74d09934c9beedb7d0 /vnext/src/components/UploadButton.js
parent5e0b2264e306ffbda392e71e91298108ddec63f3 (diff)
Fix linter configuration
Fix some linter warnings
Diffstat (limited to 'vnext/src/components/UploadButton.js')
-rw-r--r--vnext/src/components/UploadButton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/UploadButton.js b/vnext/src/components/UploadButton.js
index 115ff32e..73cbbfcf 100644
--- a/vnext/src/components/UploadButton.js
+++ b/vnext/src/components/UploadButton.js
@@ -11,10 +11,10 @@ export default function UploadButton(props) {
} else {
input.click();
}
- }
+ };
let attachmentChanged = (event) => {
props.onChange(event.target.value);
- }
+ };
return (
<div style={props.value ? activeStyle : inactiveStyle}
onClick={openfile}>