Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

sort correctly (#28565)

Francesco Sansalvadorebd185c6588cf
diff --git a/apps/www/components/LaunchWeek/12/LWMeetups.tsx b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
index 2b58a407b8e..458ac614dd4 100644
--- a/apps/www/components/LaunchWeek/12/LWMeetups.tsx
+++ b/apps/www/components/LaunchWeek/12/LWMeetups.tsx
@@ -50,6 +50,7 @@ const LWMeetups = ({ meetups, className }: { meetups?: Meetup[]; className?: str
.select('*')
.eq('launch_week', 'lw12')
.neq('is_published', false)
+ .order('start_at')
setMeets(
newMeets?.sort((a, b) => (new Date(a.start_at) > new Date(b.start_at) ? 1 : -1))!
diff --git a/apps/www/components/LaunchWeek/12/LWSummary.tsx b/apps/www/components/LaunchWeek/12/LWSummary.tsx
index d3c7b06d466..8176c4c499b 100644
--- a/apps/www/components/LaunchWeek/12/LWSummary.tsx
+++ b/apps/www/components/LaunchWeek/12/LWSummary.tsx
@@ -1,5 +1,4 @@
import React from 'react'
-import Image from 'next/image'
import Link from 'next/link'
import { buildDays, mainDays } from './Releases/data'
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 7ff79adf987..dadb3843db0 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -127,7 +127,7 @@ export const getServerSideProps: GetServerSideProps = async () => {
.select('*')
.eq('launch_week', 'lw12')
.neq('is_published', false)
- .order('start_at', { ascending: false })
+ .order('start_at')
return {
props: {