diff --git a/web/components/filters/filters.tsx b/web/components/filters/filters.tsx
index 6c729fc3..3cda114c 100644
--- a/web/components/filters/filters.tsx
+++ b/web/components/filters/filters.tsx
@@ -20,6 +20,7 @@ import {DietFilter, DietFilterText} from 'web/components/filters/diet-filter'
import {EducationFilter, EducationFilterText} from 'web/components/filters/education-filter'
import {FieldToggles} from 'web/components/filters/field-toggles'
import {HasPhotoFilter} from 'web/components/filters/has-photo-filter'
+import {IncompleteProfilesToggle} from 'web/components/filters/incomplete-profiles-toggle'
import {InterestFilter, InterestFilterText} from 'web/components/filters/interest-filter'
import {LanguageFilter, LanguageFilterText} from 'web/components/filters/language-filter'
import {MbtiFilter, MbtiFilterText} from 'web/components/filters/mbti-filter'
@@ -30,7 +31,6 @@ import {
} from 'web/components/filters/relationship-status-filter'
import {ReligionFilter, ReligionFilterText} from 'web/components/filters/religion-filter'
import {RomanticFilter, RomanticFilterText} from 'web/components/filters/romantic-filter'
-import {ShortBioToggle} from 'web/components/filters/short-bio-toggle'
import {KidsLabel, WantsKidsFilter} from 'web/components/filters/wants-kids-filter'
import {FilterGuide} from 'web/components/guidance'
import {Col} from 'web/components/layout/col'
@@ -241,20 +241,18 @@ function Filters(props: {
/>
-
-
-
-
+
+
{/* Short Bios */}
-
-
+
+
{/* ALWAYS VISIBLE FILTERS */}
diff --git a/web/components/filters/incomplete-profiles-toggle.tsx b/web/components/filters/incomplete-profiles-toggle.tsx
new file mode 100644
index 00000000..6d943fda
--- /dev/null
+++ b/web/components/filters/incomplete-profiles-toggle.tsx
@@ -0,0 +1,31 @@
+import clsx from 'clsx'
+import {FilterFields} from 'common/filters'
+import {Row} from 'web/components/layout/row'
+import {Checkbox} from 'web/components/widgets/checkbox'
+import {useT} from 'web/lib/locale'
+
+export function IncompleteProfilesToggle(props: {
+ filters: Partial
+ updateFilter: (newState: Partial) => void
+ hidden: boolean
+}) {
+ const {filters, updateFilter, hidden} = props
+ const t = useT()
+ if (hidden) {
+ return <>>
+ }
+
+ const label = t('filter.short_bio_toggle', 'Include incomplete profiles')
+
+ const checked = filters.shortBio || false
+
+ return (
+
+ updateFilter({shortBio: checked ? true : undefined})}
+ />
+
+ )
+}
diff --git a/web/components/filters/my-matches-toggle.tsx b/web/components/filters/my-matches-toggle.tsx
index d74cdf6f..20575ff7 100644
--- a/web/components/filters/my-matches-toggle.tsx
+++ b/web/components/filters/my-matches-toggle.tsx
@@ -1,15 +1,16 @@
import clsx from 'clsx'
import {Profile} from 'common/profiles/profile'
import {Row} from 'web/components/layout/row'
+import {Checkbox} from 'web/components/widgets/checkbox'
import {useT} from 'web/lib/locale'
export function MyMatchesToggle(props: {
setYourFilters: (checked: boolean) => void
youProfile: Profile | undefined | null
- on: boolean
+ checked: boolean
hidden: boolean
}) {
- const {setYourFilters, on, hidden} = props
+ const {setYourFilters, checked, hidden} = props
const t = useT()
if (hidden) {
return <>>
@@ -18,17 +19,8 @@ export function MyMatchesToggle(props: {
const label = t('filter.mine_toggle', 'Your filters')
return (
-
- ) => setYourFilters(e.target.checked)}
- />
-
+
+
)
}
diff --git a/web/components/filters/short-bio-toggle.tsx b/web/components/filters/short-bio-toggle.tsx
deleted file mode 100644
index 308a9abd..00000000
--- a/web/components/filters/short-bio-toggle.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import clsx from 'clsx'
-import {FilterFields} from 'common/filters'
-import {Row} from 'web/components/layout/row'
-import {useT} from 'web/lib/locale'
-
-export function ShortBioToggle(props: {
- filters: Partial
- updateFilter: (newState: Partial) => void
- hidden: boolean
-}) {
- const {filters, updateFilter, hidden} = props
- const t = useT()
- if (hidden) {
- return <>>
- }
-
- const label = t('filter.short_bio_toggle', 'Include incomplete profiles')
-
- const on = filters.shortBio || false
-
- return (
-
- ) =>
- updateFilter({shortBio: e.target.checked ? true : undefined})
- }
- />
-
-
- )
-}