Set showPhotos default to true in display options logic

This commit is contained in:
MartinBraquet
2026-06-20 19:33:51 +02:00
parent cca1ad703d
commit ec13ea5888
2 changed files with 1 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ export type DisplayOptions = {
}
export const initialDisplayOptions: DisplayOptions = {
showPhotos: undefined,
showPhotos: true,
showAge: undefined,
showGender: undefined,
showLanguages: true,

View File

@@ -17,7 +17,6 @@ export function useDisplayOptions(profile?: any) {
if (profile && displayOptions.showPhotos === undefined) {
const isLookingForRelationship = !!profile?.pref_relation_styles?.includes('relationship')
updateDisplayOptions({
showPhotos: isLookingForRelationship,
showAge: isLookingForRelationship,
showGender: isLookingForRelationship,
})