Skip to content

Commit

Permalink
chore: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
hoaphantn7604 committed Oct 11, 2024
1 parent ed3489f commit 3675d8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions src/components/Dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,8 @@ const DropdownComponent: <T>(
if (onBlur) {
onBlur();
}

if (keyboardHeight > 0) {
return Keyboard.dismiss();
}
}
}, [disable, keyboardHeight, onBlur]);
}, [disable, onBlur]);

const font = useCallback(() => {
if (fontFamily) {
Expand Down
4 changes: 0 additions & 4 deletions src/components/MultiSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ const MultiSelectComponent: <T>(
if (onBlur) {
onBlur();
}

if (keyboardHeight > 0) {
return Keyboard.dismiss();
}
}
};

Expand Down

0 comments on commit 3675d8e

Please sign in to comment.