Skip to content

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

chore: cleanup

Francesco Sansalvadorefc3b3b6e48d3
diff --git a/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx b/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx
index 468d50e5e02..109e5272de8 100644
--- a/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/TicketForm.tsx
@@ -1,15 +1,11 @@
import { useState, useRef, useEffect } from 'react'
import { useRouter } from 'next/router'
-// import { scrollTo } from '@lib/smooth-scroll';
import cn from 'classnames'
-// import GithubIcon from '~/components/LaunchWeek/Ticket/icons/icon-github'
-// import CheckIcon from '~/components/LaunchWeek/Ticket/icons/icon-check'
import { SITE_ORIGIN } from '~/lib/constants'
import useConfData from '~/components/LaunchWeek/Ticket//hooks/use-conf-data'
-import LoadingDots from './loading-dots'
import formStyles from './form.module.css'
import ticketFormStyles from './ticket-form.module.css'
-import { Button, IconCheck, IconCheckCircle, IconLoader } from 'ui'
+import { Button, IconCheckCircle, IconLoader } from 'ui'
type FormState = 'default' | 'loading' | 'error'
type TicketGenerationState = 'default' | 'loading'
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 1f246bc6090..d882ec9625c 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -147,8 +147,6 @@ export const getServerSideProps: GetServerSideProps = async ({ req, res }) => {
.order('createdAt', { ascending: false })
.limit(17)
- // res.setHeader('Cache-Control', 'public, s-maxage=10, stale-while-revalidate=59')
-
return {
props: {
users,
diff --git a/apps/www/pages/launch-week/tickets/[username].tsx b/apps/www/pages/launch-week/tickets/[username].tsx
index 2a688378425..7c2707ddf5d 100644
--- a/apps/www/pages/launch-week/tickets/[username].tsx
+++ b/apps/www/pages/launch-week/tickets/[username].tsx
@@ -131,9 +131,6 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
ogImageUrl = `https://obuldanrptloktxcffvn.functions.supabase.co/lw7-ticket-og?username=${encodeURIComponent(
username ?? ''
)}${golden ? '&golden=true' : ''}`
- // ogImageUrl = `https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/images/lw7/tickets/${
- // golden ? 'golden' : 'regular'
- // }/v3/${username ?? ''}.png`
}
return {