Skip to content

Commit

Permalink
modal-preview:#2 - remove Json
Browse files Browse the repository at this point in the history
  • Loading branch information
nikisthaa committed May 4, 2020
1 parent acf0867 commit 9bd7a83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/form/project/AddProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,8 @@ const AddProject = ({ onClose, isEdit, values }) => {
validationSchema={validateProjectInformation}
validateOnChange={validateProjectInformation}
>
{({ values, setFieldValue, setFieldTouched }) => (
{({ setFieldValue, setFieldTouched }) => (
<Form>
<pre>{JSON.stringify(values, null, 2)}</pre>

<div className="form__content">
<InputText name="name" label="Title of your Project" />
<div className="form__date-field">
Expand Down

0 comments on commit 9bd7a83

Please sign in to comment.