1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

🐛 Fix incorrect typing in Select

This commit is contained in:
Steffo 2021-08-20 05:03:18 +02:00
parent 930be42bed
commit c70549e545
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -23,7 +23,7 @@ export function Select({onChange, ...props}: SelectProps): JSX.Element {
const onChangeWrapper = React.useCallback(
(event: React.ChangeEvent<HTMLInputElement>): boolean => {
(event: React.ChangeEvent<HTMLSelectElement>): boolean => {
const contents = event.target.value
if(onChange) {