🎨 chore(web): apply ESLint and Prettier auto-fixes (baseline)

- Ran: bun run eslint:fix && bun run lint:fix
- Inserted AGPL license header via eslint-plugin-header
- Enforced no-multiple-empty-lines and other lint rules
- Formatted code using Prettier v3 (@so1ve/prettier-config)
- No functional changes; formatting-only baseline across JS/JSX files
This commit is contained in:
t0ng7u
2025-08-30 21:15:10 +08:00
parent 105b86c660
commit 6a87808612
274 changed files with 11025 additions and 7659 deletions

View File

@@ -26,7 +26,7 @@ const EnableDisableUserModal = ({
onConfirm,
user,
action,
t
t,
}) => {
const isDisable = action === 'disable';
@@ -36,11 +36,11 @@ const EnableDisableUserModal = ({
visible={visible}
onCancel={onCancel}
onOk={onConfirm}
type="warning"
type='warning'
>
{isDisable ? t('此操作将禁用用户账户') : t('此操作将启用用户账户')}
</Modal>
);
};
export default EnableDisableUserModal;
export default EnableDisableUserModal;