From e584b7f1cf4103acbe8048dbb9816c9f6c7d0e27 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 28 Dec 2022 09:10:33 +0900 Subject: [PATCH] :art: --- packages/frontend/src/scripts/get-user-menu.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 2faacffdf..7ede64c32 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -158,18 +158,18 @@ export function getUserMenu(user, router: Router = mainRouter) { action: () => { copyToClipboard(`@${user.username}@${user.host || host}`); }, - }, { - icon: 'ti ti-rss', - text: i18n.ts.copyRSS, - action: () => { - copyToClipboard(`${user.host || host}/@${user.username}.atom`); - } }, { icon: 'ti ti-info-circle', text: i18n.ts.info, action: () => { router.push(`/user-info/${user.id}`); }, + }, { + icon: 'ti ti-rss', + text: i18n.ts.copyRSS, + action: () => { + copyToClipboard(`${user.host ?? host}/@${user.username}.atom`); + }, }, { icon: 'ti ti-mail', text: i18n.ts.sendMessage,