Skip to content

Commit

Permalink
Fix enable pages (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic16x authored Nov 23, 2024
1 parent 5668264 commit cf7cebd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "interslavic",
"version": "1.24.0",
"version": "1.24.1",
"description": "Interslavic Dictionary",
"license": "MIT",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Header =

return (defaultPages.includes(value) || enabledPages.includes(value))
})
), [IS_COM, pages])
), [IS_COM, pages, enabledPages])

const showBadges = useMemo(() => (
filteredPages.some(({ value }) => (badges.includes(value)))
Expand Down

0 comments on commit cf7cebd

Please sign in to comment.