We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fff0b4 commit 0f9feedCopy full SHA for 0f9feed
pages/index.page.tsx
@@ -145,8 +145,11 @@ function printEventsForNextWeeks(icalData: { [x: string]: any }) {
145
}
146
147
// Sort the array based on parsedStartDate
148
- arrayDates.sort((x, y) => new Date(x.parsedStartDate).getTime() - new Date(y.parsedStartDate).getTime());
149
-
+ arrayDates.sort(
+ (x, y) =>
150
+ new Date(x.parsedStartDate).getTime() -
151
+ new Date(y.parsedStartDate).getTime(),
152
+ );
153
return arrayDates;
154
155
export function AlgoliaSearch() {
0 commit comments