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',
|
||||
text: i18n.ts.copyUsername,
|
||||
action: () => {
|
||||
copyToClipboard(`@${user.username}@${user.host || host}`);
|
||||
copyToClipboard(`@${user.username}@${user.host ?? host}`);
|
||||
},
|
||||
}, {
|
||||
icon: 'ti ti-info-circle',
|
||||
|
|
Loading…
Reference in a new issue