Skip to content

Commit

Permalink
refactor(frontend): fix eslint error (#10084)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored Feb 25, 2023
1 parent ea04778 commit 209d8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/scripts/get-user-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 209d8b4

Please sign in to comment.