mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-30 20:29:13 +01:00
refactor(frontend): fix eslint error (#10084)
This commit is contained in:
parent
ea04778649
commit
209d8b4f39
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router
|
||||||
icon: 'ti ti-at',
|
icon: 'ti ti-at',
|
||||||
text: i18n.ts.copyUsername,
|
text: i18n.ts.copyUsername,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(`@${user.username}@${user.host || host}`);
|
copyToClipboard(`@${user.username}@${user.host ?? host}`);
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
icon: 'ti ti-info-circle',
|
icon: 'ti ti-info-circle',
|
||||||
|
|
Loading…
Reference in a new issue