diff --git a/src/components/sessions/filter.astro b/src/components/sessions/filter.astro index 77a6278de..55f1d4193 100644 --- a/src/components/sessions/filter.astro +++ b/src/components/sessions/filter.astro @@ -1,13 +1,30 @@ --- -const { allTracks, allTypes, allLevels } = Astro.props; +interface FilterSessionsProps { + allTracks?: string[]; + allTypes?: string[]; + allLevels?: string[]; +} + +const { allTracks = [], allTypes = [], allLevels = [] }: FilterSessionsProps = Astro.props; import { Label } from "../form/label"; import { Select } from "../form/select"; ---