@@ -57,8 +58,22 @@ const SidebarLink: React.FC
= ({ to, icon, text, onClick }) => (
{text}
-
-);
+ );
+
+ if (to) {
+ return (
+
+ {body}
+
+ );
+ }
+
+ return (
+
+ {body}
+
+ );
+};
const getOtherAccounts = makeGetOtherAccounts();
@@ -228,7 +243,7 @@ const SidebarMenu: React.FC = (): JSX.Element | null => {
{instance.invites_enabled && (