summaryrefslogtreecommitdiff
path: root/src/containers/ContractorForm.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/containers/ContractorForm.tsx')
-rw-r--r--src/containers/ContractorForm.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/containers/ContractorForm.tsx b/src/containers/ContractorForm.tsx
index a67eabe..4e83fae 100644
--- a/src/containers/ContractorForm.tsx
+++ b/src/containers/ContractorForm.tsx
@@ -1,14 +1,14 @@
import React from 'react';
-import { Form, Field } from 'formik';
+import { Form } from 'formik';
import Input from '../components/Input';
const ContractorForm: React.FC = () => {
return (
<Form id="form">
<div className="max-w-lg">
- <Field name="name" label="Название" as={Input} />
- <Field name="vatId" label="УНП" as={Input} />
- <Field name="debt" type="number" label="Долг ($)" as={Input} />
+ <Input name="name" label="Название" />
+ <Input name="vatId" label="УНП" />
+ <Input name="debt" type="number" label="Долг ($)" />
</div>
</Form>
);