diff options
Diffstat (limited to 'src/lib/form/components/Merchant.jsx')
| -rw-r--r-- | src/lib/form/components/Merchant.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/form/components/Merchant.jsx b/src/lib/form/components/Merchant.jsx index bed45bf9..beb50f50 100644 --- a/src/lib/form/components/Merchant.jsx +++ b/src/lib/form/components/Merchant.jsx @@ -6,7 +6,7 @@ import ReCAPTCHA from 'react-google-recaptcha' import { Controller, useForm } from 'react-hook-form' import { toast } from 'react-hot-toast' import * as Yup from 'yup' -import createLeadsApi from '../api/createLeadsApi' +import createLeadApi from '../api/createLeadApi' const CreateMerchant = () => { const { @@ -91,7 +91,7 @@ const CreateMerchant = () => { 'Keterangan : ' + values.description } - const create_leads = await createLeadsApi({ data }) + const create_leads = await createLeadApi({ data }) if (create_leads) { toast.success('Berhasil menambahkan data') reset() |
