mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-03 12:45:50 -04:00
Add smoker to your filters
This commit is contained in:
@@ -79,6 +79,7 @@ export const useFilters = (you: Profile | undefined) => {
|
||||
has_kids: wantsKidsToHasKidsFilter(
|
||||
(you?.wants_kids_strength ?? 2) as wantsKidsDatabase
|
||||
),
|
||||
is_smoker: you?.is_smoker,
|
||||
}
|
||||
console.debug(you, yourFilters)
|
||||
|
||||
@@ -95,6 +96,7 @@ export const useFilters = (you: Profile | undefined) => {
|
||||
&& filters.pref_age_max == yourFilters.pref_age_max
|
||||
&& filters.pref_age_min == yourFilters.pref_age_min
|
||||
&& filters.wants_kids_strength == yourFilters.wants_kids_strength
|
||||
&& filters.is_smoker == yourFilters.is_smoker
|
||||
|
||||
const setYourFilters = (checked: boolean) => {
|
||||
if (checked) {
|
||||
|
||||
Reference in New Issue
Block a user