summaryrefslogtreecommitdiff
path: root/src-migrate/modules/register/components
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-30 16:21:50 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-30 16:21:50 +0700
commit340d55fe93fb93b3f77d4c5f2d55174432aec810 (patch)
tree0a016b632af5b119f59f6fb9f38ddc64562b1f3c /src-migrate/modules/register/components
parentb8141064bcce99574b94506f9e3028425759158d (diff)
<iman> delete console log
Diffstat (limited to 'src-migrate/modules/register/components')
-rw-r--r--src-migrate/modules/register/components/FormBisnis.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src-migrate/modules/register/components/FormBisnis.tsx b/src-migrate/modules/register/components/FormBisnis.tsx
index 6ab12776..79515a36 100644
--- a/src-migrate/modules/register/components/FormBisnis.tsx
+++ b/src-migrate/modules/register/components/FormBisnis.tsx
@@ -112,9 +112,6 @@ const form: React.FC<FormProps> = ({ type, required, isPKP }) => {
const formatNpwp = (value: string) => {
try {
const cleaned = ("" + value).replace(/\D/g, "");
- // const match = cleaned.match(/(\d{0,2})?(\d{0,3})?(\d{0,3})?(\d{0,1})?(\d{0,3})?(\d{0,3})$/);
- console.log("panjang",form?.npwp?.length)
- console.log("panjang cleaned",cleaned.length)
let match
if(cleaned.length <= 15){
match = cleaned.match(/(\d{0,2})?(\d{0,3})?(\d{0,3})?(\d{0,1})?(\d{0,3})?(\d{0,3})$/);
@@ -228,7 +225,6 @@ const form: React.FC<FormProps> = ({ type, required, isPKP }) => {
break;
}
};
- console.log("form",form)
return (
<>
<BottomPopup