Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte committed Dec 3, 2024
1 parent 9c27696 commit e8a63e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Props = IndicatorFilters & {
}
const props = withDefaults(defineProps<Props>(), { query: '' })
// map props.{filter} to a list of props for child components in v-bind
// equivalent to :enjeu="props.enjeu" for every filter
// v-bind="filtersProps" is equivalent to :{filter}="props.{filter}" for every filter
const filtersProps = computed(() => {
return FILTER_KEYS.reduce(
(acc, key) => ({
Expand Down

0 comments on commit e8a63e1

Please sign in to comment.