mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-23 03:54:21 +00:00
🐛 Fix incorrect typing in Select
This commit is contained in:
parent
930be42bed
commit
c70549e545
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export function Select({onChange, ...props}: SelectProps): JSX.Element {
|
||||||
|
|
||||||
const onChangeWrapper = React.useCallback(
|
const onChangeWrapper = React.useCallback(
|
||||||
|
|
||||||
(event: React.ChangeEvent<HTMLInputElement>): boolean => {
|
(event: React.ChangeEvent<HTMLSelectElement>): boolean => {
|
||||||
const contents = event.target.value
|
const contents = event.target.value
|
||||||
|
|
||||||
if(onChange) {
|
if(onChange) {
|
||||||
|
|
Loading…
Reference in a new issue