From c0c045c69d0c9c786140af87bedde074f5f9cef9 Mon Sep 17 00:00:00 2001 From: Jason Chuang Date: Tue, 16 Dec 2025 17:00:26 +0800 Subject: [PATCH] update typo from Suspention to Suspension --- src/components/SysSettingProvider.js | 2 +- src/pages/Proof/Payment/Pay_Online.js | 6 +++--- src/pages/Proof/Payment/index.js | 4 ++-- src/pages/Proof/Reply_Public/ProofForm.js | 4 ++-- src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js | 3 ++- src/pages/authentication/AuthWrapper.js | 4 ++-- src/pages/dashboard/Public/index.js | 4 ++-- src/utils/Utils.js | 6 +++--- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/components/SysSettingProvider.js b/src/components/SysSettingProvider.js index 2f0176c..736cd42 100644 --- a/src/components/SysSettingProvider.js +++ b/src/components/SysSettingProvider.js @@ -21,7 +21,7 @@ const SysSettingProvider = ({ children }) => { // console.log(responseData) setSysSetting(responseData); localStorage.setItem('sysEnv', responseData.sysEnv) - localStorage.setItem('paymentSuspention', responseData.suspensionMode) + localStorage.setItem('paymentSuspension', responseData.suspensionMode) } }); } diff --git a/src/pages/Proof/Payment/Pay_Online.js b/src/pages/Proof/Payment/Pay_Online.js index ebf14da..b961386 100644 --- a/src/pages/Proof/Payment/Pay_Online.js +++ b/src/pages/Proof/Payment/Pay_Online.js @@ -13,7 +13,7 @@ import { useParams } from "react-router-dom"; import { useNavigate } from "react-router-dom"; import * as DateUtils from "utils/DateUtils" import * as FormatUtils from "utils/FormatUtils"; -import { checkPaymentSuspention } from "utils/Utils"; +import { checkPaymentSuspension } from "utils/Utils"; import { checkIsOnlyOnlinePayment, } from "utils/Utils"; @@ -182,7 +182,7 @@ const Index = () => { ) }} />
- {checkPaymentSuspention()? + {checkPaymentSuspension()?
@@ -192,7 +192,7 @@ const Index = () => { } - {!checkPaymentSuspention()? + {!checkPaymentSuspension()?