Skip to content

Commit

Permalink
Update ordering of menu items in Header.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
nickviola committed Mar 20, 2024
1 parent 8eb79a9 commit 91e2e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ const HeaderNoCtx: React.FC<ContextType> = (props) => {

const getConditionalNavItems = () => {
if (user?.userType === 'regionalAdmin') {
userMenu.nested?.push(userRegistrationNavItem);
userItemsSmall.push(userRegistrationNavItem);
userMenu.nested?.unshift(userRegistrationNavItem);
userItemsSmall.unshift(userRegistrationNavItem);
}
};

Expand Down

0 comments on commit 91e2e45

Please sign in to comment.