Merge pull request #1467 from 0xProject/fix/website/remove-placeholders

[website] Don't show placeholder text on contact page
This commit is contained in:
Steve Klebanoff 2018-12-20 15:27:47 -08:00 committed by GitHub
commit 5ec1ae5f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,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>
);