diff --git a/frontend/src/components/EpisodeSwitcher.tsx b/frontend/src/components/EpisodeSwitcher.tsx index bdb7f17e2..6cee9e02b 100644 --- a/frontend/src/components/EpisodeSwitcher.tsx +++ b/frontend/src/components/EpisodeSwitcher.tsx @@ -41,8 +41,8 @@ const EpisodeSwitcher: React.FC = () => {
{idToName.get(episodeId)} diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 1aeffbcc9..1d748bb1a 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -23,7 +23,7 @@ const Header: React.FC = () => { const renderedItems = useMemo( () => renderableItems(ALL_SIDEBAR_ITEMS, episodeData, authState, teamData), - [episodeData, teamData], + [episodeData, teamData, authState], ); return ( @@ -92,7 +92,7 @@ const Header: React.FC = () => { {/* battlecode logo, episode select */} -
+
{ @@ -100,12 +100,12 @@ const Header: React.FC = () => { }} > Battlecode Logo Battlecode Logo @@ -119,7 +119,7 @@ const Header: React.FC = () => { Open user menu