Skip to content

Commit 429831f

Browse files
author
小豪
committed
fix: lint fix
1 parent 2f7630e commit 429831f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ const Segmented = React.forwardRef<HTMLDivElement, SegmentedProps>(
192192
(option) => option.value === rawValue,
193193
);
194194

195-
const handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {
195+
const handleFocus = () => {
196196
setIsFocused(true);
197197
};
198198

199-
const handleBlur = (event?: React.FocusEvent<HTMLInputElement>) => {
199+
const handleBlur = () => {
200200
setIsFocused(false);
201201
};
202202

0 commit comments

Comments
 (0)