Skip to content

Commit 7a96521

Browse files
committed
update the state variable names being passed back from the blank request form
1 parent 6bbd893 commit 7a96521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/BlankRequestForm/BlankRequestForm.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const BlankRequestForm = ({ updateRequestForm }) => (
1111
type='text'
1212
as='textarea'
1313
rows={3}
14-
onChange={(e) => updateRequestForm(e.target.value, 'data.description')}
14+
onChange={(e) => updateRequestForm(e.target.value, 'description')}
1515
required
1616
/>
1717
<Form.Control.Feedback type='invalid'>
@@ -24,7 +24,7 @@ const BlankRequestForm = ({ updateRequestForm }) => (
2424
as='textarea'
2525
className='prevent-validation-styles'
2626
rows={3}
27-
onChange={(e) => updateRequestForm(e.target.value, 'data.timeline')}
27+
onChange={(e) => updateRequestForm(e.target.value, 'timeline')}
2828
/>
2929
</Form.Group>
3030
</Row>

0 commit comments

Comments
 (0)