Skip to content

Commit ec13ea5

Browse files
committed
Set showPhotos default to true in display options logic
1 parent cca1ad7 commit ec13ea5

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

common/src/profiles-rendering.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type DisplayOptions = {
2121
}
2222

2323
export const initialDisplayOptions: DisplayOptions = {
24-
showPhotos: undefined,
24+
showPhotos: true,
2525
showAge: undefined,
2626
showGender: undefined,
2727
showLanguages: true,

web/hooks/use-display-options.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export function useDisplayOptions(profile?: any) {
1717
if (profile && displayOptions.showPhotos === undefined) {
1818
const isLookingForRelationship = !!profile?.pref_relation_styles?.includes('relationship')
1919
updateDisplayOptions({
20-
showPhotos: isLookingForRelationship,
2120
showAge: isLookingForRelationship,
2221
showGender: isLookingForRelationship,
2322
})

0 commit comments

Comments
 (0)