The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
lw8: limit stars in constellation and cleanup console logs
Francesco Sansalvadore05d8c4d6d802
diff --git a/apps/www/components/LaunchWeek/8/LW8Meetups.tsx b/apps/www/components/LaunchWeek/8/LW8Meetups.tsxindex dbcce1ec01c..be2913f2540 100644--- a/apps/www/components/LaunchWeek/8/LW8Meetups.tsx+++ b/apps/www/components/LaunchWeek/8/LW8Meetups.tsx@@ -32,9 +32,7 @@ const LW8Meetups = ({ meetups }: { meetups?: Meetup[] }) => {table: 'lw8_meetups',},async () => {- const { data: newMeets, error } = await supabase.from('lw8_meetups').select('*')- console.log('newMeets error', error)- console.log('newMeets', newMeets)+ const { data: newMeets } = await supabase.from('lw8_meetups').select('*')setMeets(newMeets)})@@ -48,10 +46,6 @@ const LW8Meetups = ({ meetups }: { meetups?: Meetup[] }) => {}}, [])- useEffect(() => {- console.log('meetups', meets)- }, [meets])-return (<div className="max-w-6xl mx-auto grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-8"><div className="col-span-1 lg:col-span-4 flex flex-col justify-center">diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsxindex 4b41360d683..ba868c312e2 100644--- a/apps/www/pages/launch-week/index.tsx+++ b/apps/www/pages/launch-week/index.tsx@@ -192,11 +192,12 @@ export default function TicketHome({ users, meetups }: Props) {)}-export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {+export const getServerSideProps: GetServerSideProps = async () => {// fetch users for the TicketBrickWallconst { data: users } = await supabaseAdmin!.from('lw8_tickets_golden')- .select('username, golden', { count: 'exact' })+ .select('username, golden')+ .limit(1000)const { data: meetups } = await supabaseAdmin!.from('lw8_meetups').select('*')