🎨 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:
@@ -49,17 +49,10 @@ const CopyTokensModal = ({ visible, onCancel, selectedKeys, copyText, t }) => {
|
||||
onCancel={onCancel}
|
||||
footer={
|
||||
<Space>
|
||||
<Button
|
||||
type='tertiary'
|
||||
onClick={handleCopyWithName}
|
||||
>
|
||||
<Button type='tertiary' onClick={handleCopyWithName}>
|
||||
{t('名称+密钥')}
|
||||
</Button>
|
||||
<Button
|
||||
onClick={handleCopyKeyOnly}
|
||||
>
|
||||
{t('仅密钥')}
|
||||
</Button>
|
||||
<Button onClick={handleCopyKeyOnly}>{t('仅密钥')}</Button>
|
||||
</Space>
|
||||
}
|
||||
>
|
||||
@@ -68,4 +61,4 @@ const CopyTokensModal = ({ visible, onCancel, selectedKeys, copyText, t }) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default CopyTokensModal;
|
||||
export default CopyTokensModal;
|
||||
|
||||
Reference in New Issue
Block a user