Sfoglia il codice sorgente

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) <noreply@anthropic.com>
zhongyuan.zhao 1 mese fa
parent
commit
1daeac42ef

+ 2 - 1
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);