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>
This commit is contained in:
@@ -31,10 +31,11 @@ import {
|
|||||||
Input,
|
Input,
|
||||||
Space,
|
Space,
|
||||||
} from '@douyinfe/semi-ui';
|
} from '@douyinfe/semi-ui';
|
||||||
const { Text } = Typography;
|
|
||||||
import { API, showError, showSuccess } from '../../../helpers';
|
import { API, showError, showSuccess } from '../../../helpers';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
|
const { Text } = Typography;
|
||||||
|
|
||||||
export default function SettingsPaymentGatewayWaffo(props) {
|
export default function SettingsPaymentGatewayWaffo(props) {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user