Skip to content

Commit 0aafb3b

Browse files
committed
style: 修正 biome 错误
1 parent 4736ce3 commit 0aafb3b

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

packages/admin/src/pages/current/passports/totp.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ export class TOTP implements PassportComponents {
9595
<Form.Submit palette="primary" disabled={api.accessor<string>('username').getValue() === ''}>
9696
{l.t('_c.ok')}
9797
</Form.Submit>
98-
<Form.Reset palette="secondary">
99-
{' '}
100-
{l.t('_c.reset')}{' '}
101-
</Form.Reset>
98+
<Form.Reset palette="secondary"> {l.t('_c.reset')} </Form.Reset>
10299
</Form.Root>
103100
);
104101
}

packages/admin/src/pages/current/profile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function Profile(props: Props): JSX.Element {
8787
return (
8888
<Page.Root title="_p.current.profile" class={styles.profile}>
8989
<Upload.Root
90-
ref={el => uploadRef = el}
90+
ref={el => (uploadRef = el)}
9191
fieldName="files"
9292
upload={async data => {
9393
const ret = await rest.upload<Array<string>>('/uploads', data);

0 commit comments

Comments
 (0)