Skip to content

Commit 7b9fc49

Browse files
committedApr 10, 2024·
fix: gallery image sorted by name
1 parent ba6851a commit 7b9fc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default function Home(
9292
<MembersList membership={props.committee} />
9393

9494
<Gallery
95-
imgs={props.gallery.sort((img) => img.name)}
95+
imgs={props.gallery.sort((a, b) => a.title.localeCompare(b.title))}
9696
translations={props.layoutProps.translations}
9797
/>
9898
</>

0 commit comments

Comments
 (0)
Please sign in to comment.