Skip to content

Commit

Permalink
Fixing pre-commit eslint conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
MusaKhan16 committed Oct 14, 2024
1 parent beb1aac commit d810173
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/Common/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ const NavBar: FC = () => {
...Object.entries(blogs).map(([id, { title }]) => ({ label: `Blog: ${title}`, value: id })),
...(sponsors?.data
? Object.entries(sponsors.data).map(([, { id, attributes }]) => ({
label: `Sponsors: ${attributes.title}`,
value: id.toString(),
}))
label: `Sponsors: ${attributes.title}`,
value: id.toString(),
}))
: []),
];

Expand Down

0 comments on commit d810173

Please sign in to comment.