Skip to content

Commit

Permalink
refactor(frontend): fix eslint error (misskey-dev#10084)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored and yu256 committed Feb 26, 2023
1 parent 7d186c0 commit 94d52dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/scripts/get-user-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
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 94d52dd

Please sign in to comment.