Skip to content

Commit ad8e343

Browse files
committed
refactor(frontend): fix eslint error
1 parent 3c01c0c commit ad8e343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/frontend/src/scripts/get-user-menu.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router
116116
icon: 'ti ti-at',
117117
text: i18n.ts.copyUsername,
118118
action: () => {
119-
copyToClipboard(`@${user.username}@${user.host || host}`);
119+
copyToClipboard(`@${user.username}@${user.host ?? host}`);
120120
},
121121
}, {
122122
icon: 'ti ti-info-circle',

0 commit comments

Comments
 (0)