Fix subject boolean value
This commit is contained in:
parent
c44f82bd21
commit
747163b5d4
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ export default ({
|
|||
/>
|
||||
</Label>
|
||||
<Input type='text' name='_gotcha' style={{ display: 'none' }} />
|
||||
{subject.length && <Input type='hidden' name='subject' value={subject} />}
|
||||
{!!subject && <Input type='hidden' name='subject' value={subject} />}
|
||||
<Input type='hidden' name='form-name' value={name} />
|
||||
<Button className='button' type='submit' value='Send' />
|
||||
</StyledForm>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue