From b9b4eb3ed751a69c023a45e7cdca8da01ae6b1cd Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 15 Jan 2025 13:21:48 +0700
Subject: <iman> update merchant

---
 src/lib/merchant/components/Dokumen.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/merchant/components/Dokumen.jsx')

diff --git a/src/lib/merchant/components/Dokumen.jsx b/src/lib/merchant/components/Dokumen.jsx
index fb4d1914..19df56a5 100644
--- a/src/lib/merchant/components/Dokumen.jsx
+++ b/src/lib/merchant/components/Dokumen.jsx
@@ -9,7 +9,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 createMerchantApi from '../../form/api/createMerchantApi';
+import createMerchantApi from '../api/createMerchantApi';
 import addressApi from '@/lib/address/api/addressApi';
 import PageContent from '@/lib/content/components/PageContent';
 import { useRouter } from 'next/router';
@@ -320,7 +320,7 @@ const Dokumen = ({ handleIsError }) => {
       file_dataProduk: dataProduk ? dataProduk : '',
       file_pricelist: pricelist ? pricelist : '',
     };
-    isError(true);
+    isError(false);
     toast.dismiss(toastId);
     toast.success('Berhasil menambahkan data');
     // const formData = new FormData();
-- 
cgit v1.2.3

