From a0e1aeafb469cb8dca1fd8e648758500508ac690 Mon Sep 17 00:00:00 2001 From: April Smith Date: Wed, 10 Jul 2024 17:15:05 +0100 Subject: [PATCH 1/7] Remove the Meganav Account Panel dropdown --- src/core/MeganavItemsSignedIn.tsx | 73 ------------------------------- 1 file changed, 73 deletions(-) diff --git a/src/core/MeganavItemsSignedIn.tsx b/src/core/MeganavItemsSignedIn.tsx index 70b78891d..7cf16abbc 100644 --- a/src/core/MeganavItemsSignedIn.tsx +++ b/src/core/MeganavItemsSignedIn.tsx @@ -1,7 +1,6 @@ import React from "react"; import MeganavControl from "./MeganavControl"; -import SignOutLink from "./SignOutLink"; import MeganavSearch from "./MeganavSearch"; import { AbsUrl, MeganavSessionState, MeganavTheme } from "./Meganav"; @@ -22,13 +21,7 @@ const MeganavItemsSignedIn = ({ theme, absUrl, }: MeganavItemsSignedIn) => { - const links = sessionState.account - ? Object.keys(sessionState.account.links).map( - (key) => sessionState.account.links[key], - ) - : []; const accountName = truncate(sessionState.accountName, 20); - const preferredEmail = truncate(sessionState.preferredEmail, 20); return (