Skip to content

Commit

Permalink
fixup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed Apr 25, 2024
1 parent 72fe75e commit e1e98a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/menu/main-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ const MenuItem = ({
useEventListener("keydown", handleEscape, menuItemRef);

// List out the specific classes so tailwind will include them. Dynamic classes values don"t get compiled.
const zIndexes = ["z-[1]", "z-[2]", "z-[3]", "z-[4]", "z-[5]"];
const leftPadding = ["pl-10", "pl-20", "pl-28", "pl-48"];
const zIndexes = ["z-[1]", "z-[2]", "z-[3]", "z-[4]", "z-[5]"]
const leftPadding = ["pl-10", "pl-20", "pl-28", "pl-48"]

// The last item in the current trail would be the current item id if the user is on that page.
const isCurrent = activeTrail.at(-1) === id;
Expand Down

0 comments on commit e1e98a2

Please sign in to comment.