diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-15 13:21:48 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-15 13:21:48 +0700 |
| commit | b9b4eb3ed751a69c023a45e7cdca8da01ae6b1cd (patch) | |
| tree | 081e67309f0b0a7795c685cf933caed23e52e296 /src/lib/merchant/components/Merchant.jsx | |
| parent | 3692f937130e18cf396f5871d8a15bdd258bdd2b (diff) | |
<iman> update merchant
Diffstat (limited to 'src/lib/merchant/components/Merchant.jsx')
| -rw-r--r-- | src/lib/merchant/components/Merchant.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/merchant/components/Merchant.jsx b/src/lib/merchant/components/Merchant.jsx index 59f80be5..a995cb19 100644 --- a/src/lib/merchant/components/Merchant.jsx +++ b/src/lib/merchant/components/Merchant.jsx @@ -36,7 +36,9 @@ const Merchant = () => { const handleIsError = (value) => { console.log('value yang dihasilkan', value); - goToNextStep(); + if (!value) { + goToNextStep(); + } setError(value); // Memperbarui state berdasarkan isError }; const stepDivs = [ |
