Don't end account dropdown menu with a separator (#38481)

This commit is contained in:
nicole mikołajczyk authored and GitHub committed 2026-04-01 13:22:19 +00:00
1 parent e9a051fcef
commit 1f7d6cde5e
1 file changed
+8 -7
@@ -212,13 +212,14 @@ function currentMenuItems({
}
if (isRemote) {
items.push(
{
text: intl.formatMessage(messages.openOriginalPage),
href: account.url,
},
null,
);
items.push({
text: intl.formatMessage(messages.openOriginalPage),
href: account.url,
});
if (signedIn) {
items.push(null);
}
}
if (!signedIn) {