summaryrefslogtreecommitdiff
path: root/src/lib/form
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-15 13:40:59 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-15 13:40:59 +0700
commit9c4951174cf6cf5c15b0b2a808d5d14befac6169 (patch)
tree5989901aa7ac2e665033ace68097f03a5f13e177 /src/lib/form
parent1d473242c70cd50fa6111c987ec91b2240febf2a (diff)
<iman> update code filter bad words registrasi
Diffstat (limited to 'src/lib/form')
-rw-r--r--src/lib/form/components/KunjunganSales.jsx2
-rw-r--r--src/lib/form/components/KunjunganService.jsx2
-rw-r--r--src/lib/form/components/Merchant.jsx2
-rw-r--r--src/lib/form/components/RequestForQuotation.jsx2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/form/components/KunjunganSales.jsx b/src/lib/form/components/KunjunganSales.jsx
index 3779b836..0f63de03 100644
--- a/src/lib/form/components/KunjunganSales.jsx
+++ b/src/lib/form/components/KunjunganSales.jsx
@@ -42,7 +42,7 @@ const KunjunganSales = () => {
useEffect(() => {
const loadState = async () => {
- let dataState = await stateApi();
+ let dataState = await stateApi({ tempo: false });
dataState = dataState.map((state) => ({
value: state.id,
label: state.name,
diff --git a/src/lib/form/components/KunjunganService.jsx b/src/lib/form/components/KunjunganService.jsx
index e3c83f78..a3871054 100644
--- a/src/lib/form/components/KunjunganService.jsx
+++ b/src/lib/form/components/KunjunganService.jsx
@@ -41,7 +41,7 @@ const CreateKunjunganService = () => {
useEffect(() => {
const loadState = async () => {
- let dataState = await stateApi();
+ let dataState = await stateApi({ tempo: false });
dataState = dataState.map((state) => ({
value: state.id,
label: state.name,
diff --git a/src/lib/form/components/Merchant.jsx b/src/lib/form/components/Merchant.jsx
index ee7d177d..03b8fc84 100644
--- a/src/lib/form/components/Merchant.jsx
+++ b/src/lib/form/components/Merchant.jsx
@@ -65,7 +65,7 @@ const CreateMerchant = () => {
useEffect(() => {
const loadState = async () => {
- let dataState = await stateApi();
+ let dataState = await stateApi({ tempo: false });
dataState = dataState.map((state) => ({
value: state.id,
label: state.name,
diff --git a/src/lib/form/components/RequestForQuotation.jsx b/src/lib/form/components/RequestForQuotation.jsx
index 170a5c62..8861338f 100644
--- a/src/lib/form/components/RequestForQuotation.jsx
+++ b/src/lib/form/components/RequestForQuotation.jsx
@@ -42,7 +42,7 @@ const RequestForQuotation = () => {
useEffect(() => {
const loadState = async () => {
- let dataState = await stateApi();
+ let dataState = await stateApi({ tempo: false });
dataState = dataState.map((state) => ({
value: state.id,
label: state.name,