view: fix console error msg on pageload
commited0cf42853bf78a122d26898b7297d7864ec64c2
authortomholford <tomholford@users.noreply.github.com>
dateTue 29 Jun 2021, 19:26 (5 years ago)
parent55b2e52
src/indigo-react/components/Input.js+1−1
@@ -73,7 +73,7 @@ export default function Input({
7373 black: !disabled,
7474 gray4: disabled,
7575 })}>
76− <Flex.Item as="label" justify htmlFor={name}>
76+ <Flex.Item as="label" justify="center" htmlFor={name}>
7777 {label}
7878 </Flex.Item>
7979 {labelAccessory && <Flex.Item>{labelAccessory}</Flex.Item>}