diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-21 02:46:57 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-21 02:46:57 +0800 |
commit | d20ed2247f09767b1e46d8030c083896f0d52864 (patch) | |
tree | 527f560bffde1828d307db0f34c39f4e29a67628 /packages | |
parent | bc3093e635e7753e897c9d7aa0f9d8dde49d752a (diff) | |
download | dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.tar dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.tar.gz dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.tar.bz2 dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.tar.lz dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.tar.xz dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.tar.zst dexon-sol-tools-d20ed2247f09767b1e46d8030c083896f0d52864.zip |
Remove using label as placeholder
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/@next/components/modals/input.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/modals/input.tsx b/packages/website/ts/@next/components/modals/input.tsx index d4d53402a..8e6a3df5a 100644 --- a/packages/website/ts/@next/components/modals/input.tsx +++ b/packages/website/ts/@next/components/modals/input.tsx @@ -29,7 +29,7 @@ export const Input = React.forwardRef((props: InputProps, ref?: React.Ref<HTMLIn return ( <InputWrapper {...props}> <Label htmlFor={id}>{label}</Label> - <StyledInput as={componentType} ref={ref} id={id} placeholder={label} isErrors={isErrors} {...props} /> + <StyledInput as={componentType} ref={ref} id={id} isErrors={isErrors} {...props} /> {isErrors && <Error>{errorMessage}</Error>} </InputWrapper> ); |