on master help sign in
grants: remove alphabetical sort
ba2e8cfMatilde Park
pages/grants.js+1−3
@@ -373,9 +373,7 @@ export async function getStaticProps() {
373 `grants/${year.name}`,
373 `grants/${year.name}`,
374 "date"
374 "date"
375 )
375 )
376− }).flat().sort((a, b) => {
376+ }).flat();
377− return a.title.toLowerCase().localeCompare(b.title.toLowerCase())
378− });
379
377
380 return {
378 return {
381 props: {
379 props: {