From 32b3173604fcb6b95c0f424785745fbc46b30481 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 29 Mar 2021 23:26:50 -0500 Subject: [PATCH] Set href for menu items with to --- app/soapbox/components/dropdown_menu.js | 4 ++-- app/soapbox/features/ui/components/profile_dropdown.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/soapbox/components/dropdown_menu.js b/app/soapbox/components/dropdown_menu.js index 056070329..2f2412928 100644 --- a/app/soapbox/components/dropdown_menu.js +++ b/app/soapbox/components/dropdown_menu.js @@ -140,12 +140,12 @@ class DropdownMenu extends React.PureComponent { return
  • ; } - const { text, href = '#', newTab, isLogout } = option; + const { text, href, to, newTab, isLogout } = option; return (
  • { menu.push({ text: this.renderAccount(account), action: this.handleSwitchAccount(account), href: '/', middleClick: this.handleMiddleClick(account) });