Skip to content

Commit

Permalink
Move "Saved grants" to far right of the header links (#3919)
Browse files Browse the repository at this point in the history
## Summary
Fixes #{ISSUE}

### Time to review: __5 mins__

## Changes proposed
Moves "saved grants" to end of header links:

<img width="1188" alt="image"
src="https://github.com/user-attachments/assets/551fee8a-952b-468a-b618-59010b48952e"
/>


## Testing

1. Login locally
2. See "Saved Grants" is to the far right, same as the screenshot above.
  • Loading branch information
acouch authored Feb 20, 2025
1 parent 776125c commit bd93c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const NavLinks = ({
return anonymousNavLinks;
}

return anonymousNavLinks.toSpliced(2, 0, {
return anonymousNavLinks.toSpliced(anonymousNavLinks.length, 0, {
text: t("nav_link_saved_grants"),
href: "/saved-grants",
});
Expand Down

0 comments on commit bd93c6a

Please sign in to comment.