Skip to content

Commit f483ae4

Browse files
committed
Add smoker to your filters
1 parent f974eba commit f483ae4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/components/filters/use-filters.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const useFilters = (you: Profile | undefined) => {
7979
has_kids: wantsKidsToHasKidsFilter(
8080
(you?.wants_kids_strength ?? 2) as wantsKidsDatabase
8181
),
82+
is_smoker: you?.is_smoker,
8283
}
8384
console.debug(you, yourFilters)
8485

@@ -95,6 +96,7 @@ export const useFilters = (you: Profile | undefined) => {
9596
&& filters.pref_age_max == yourFilters.pref_age_max
9697
&& filters.pref_age_min == yourFilters.pref_age_min
9798
&& filters.wants_kids_strength == yourFilters.wants_kids_strength
99+
&& filters.is_smoker == yourFilters.is_smoker
98100

99101
const setYourFilters = (checked: boolean) => {
100102
if (checked) {

0 commit comments

Comments
 (0)