Skip to content

Commit

Permalink
fix: fetch available in menus too
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 27, 2024
1 parent 97d9e07 commit 55d2fc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/layout/general/Menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import useFilter from '@hooks/useFilter'
import Header from '@components/layout/general/Header'
import Footer from '@components/layout/general/Footer'
import { applyToAll } from '@services/filtering/applyToAll'
import useGetAvailable from '@hooks/useGetAvailable'

import OptionsContainer from '../dialogs/filters/OptionsContainer'
import { VirtualGrid } from './VirtualGrid'
Expand Down Expand Up @@ -42,6 +43,8 @@ export default function Menu({
titleAction,
extraButtons,
}) {
useGetAvailable(category)

Utility.analytics(`/advanced/${category}`)

const isMobile = useMemory((s) => s.isMobile)
Expand Down

0 comments on commit 55d2fc8

Please sign in to comment.