From e8566b95aa24b452c8987e12707a4a38ad5847f9 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 12 Apr 2023 20:24:54 +0900 Subject: [PATCH] correct position --- packages/client/src/scripts/get-user-menu.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/client/src/scripts/get-user-menu.ts b/packages/client/src/scripts/get-user-menu.ts index d55c3374f..2ea72c998 100644 --- a/packages/client/src/scripts/get-user-menu.ts +++ b/packages/client/src/scripts/get-user-menu.ts @@ -267,18 +267,18 @@ export function getUserMenu(user, router: Router = mainRouter) { action: inviteGroup, } : undefined, - { - icon: user.isRenoteMuted - ? "ph-eye ph-bold ph-lg" - : "ph-eye-slash ph-bold ph-lg", - text: user.isRenoteMuted ? i18n.ts.renoteUnmute : i18n.ts.renoteMute, - action: toggleRenoteMute, - }, + null, + { + icon: user.isRenoteMuted + ? "ph-eye ph-bold ph-lg" + : "ph-eye-slash ph-bold ph-lg", + text: user.isRenoteMuted ? i18n.ts.renoteUnmute : i18n.ts.renoteMute, + action: toggleRenoteMute, + }, ] as any; if ($i && meId !== user.id) { menu = menu.concat([ - null, { icon: user.isMuted ? "ph-eye ph-bold ph-lg"