Skip to content

Commit

Permalink
fix: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
小豪 committed Nov 24, 2024
1 parent 2f7630e commit 429831f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ const Segmented = React.forwardRef<HTMLDivElement, SegmentedProps>(
(option) => option.value === rawValue,
);

const handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {
const handleFocus = () => {
setIsFocused(true);
};

const handleBlur = (event?: React.FocusEvent<HTMLInputElement>) => {
const handleBlur = () => {
setIsFocused(false);
};

Expand Down

0 comments on commit 429831f

Please sign in to comment.