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

🐛 Possibly fix #5

This commit is contained in:
Steffo 2021-09-16 18:28:09 +02:00
parent 315e3721f4
commit 60d5cb87a1
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -17,7 +17,7 @@ export interface FormPairProps extends Types.BluelibProps {
} }
export function FormPair({id, label, input, validity, bluelibClassNames, customColor, disabled}: FormPairProps): JSX.Element { export function FormPair({id, label, input, validity, bluelibClassNames, customColor}: FormPairProps): JSX.Element {
if(!id) { if(!id) {
id = UUID.v4() id = UUID.v4()
} }
@ -43,7 +43,6 @@ export function FormPair({id, label, input, validity, bluelibClassNames, customC
id: id, id: id,
bluelibClassNames: mergeClassNames(bluelibClassNames, validityClass), bluelibClassNames: mergeClassNames(bluelibClassNames, validityClass),
customColor: customColor, customColor: customColor,
disabled: disabled,
}) })
return <> return <>