From 1daeac42ef0710353cf240f9a07ec69fa2f21cc0 Mon Sep 17 00:00:00 2001 From: "zhongyuan.zhao" Date: Wed, 18 Mar 2026 16:15:06 +0800 Subject: [PATCH] fix(waffo): move Typography destructuring after all imports ESM requires all import statements before other code. Co-Authored-By: Claude Opus 4.6 (1M context) --- web/src/pages/Setting/Payment/SettingsPaymentGatewayWaffo.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Setting/Payment/SettingsPaymentGatewayWaffo.jsx b/web/src/pages/Setting/Payment/SettingsPaymentGatewayWaffo.jsx index a0e0bc2d..29c8cdfa 100644 --- a/web/src/pages/Setting/Payment/SettingsPaymentGatewayWaffo.jsx +++ b/web/src/pages/Setting/Payment/SettingsPaymentGatewayWaffo.jsx @@ -31,10 +31,11 @@ import { Input, Space, } from '@douyinfe/semi-ui'; -const { Text } = Typography; import { API, showError, showSuccess } from '../../../helpers'; import { useTranslation } from 'react-i18next'; +const { Text } = Typography; + export default function SettingsPaymentGatewayWaffo(props) { const { t } = useTranslation(); const [loading, setLoading] = useState(false);