Skip to content

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

Cleanup imports

Terry Suttonf4dc54253eb5
diff --git a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx
index cedc7368377..63a9c44cd8f 100644
--- a/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx
+++ b/apps/www/components/LaunchWeek/Ticket/ActualTicket.tsx
@@ -1,17 +1,12 @@
import cn from 'classnames'
import Tilt from 'vanilla-tilt'
import { useRef, useEffect, useState } from 'react'
-// import { TicketGenerationState } from '@lib/constants'
-// import {isMobileOrTablet} from '~/lib/helpers'
-// import { scrollTo } from '@lib/smooth-scroll'
import styles from './ticket.module.css'
import styleUtils from './utils.module.css'
-import TicketForm from './TicketForm'
import TicketVisual from './TicketVisual'
import TicketActions from './TicketActions'
import TicketCopy from './ticket-copy'
-import { DATE, SITE_NAME } from '~/lib/constants'
-import Form from './form'
+
import { UserData } from './hooks/use-conf-data'
import ReferralIndicator from '../ReferralIndicator'
import useWinningChances from './hooks/useWinningChances'
@@ -55,13 +50,6 @@ export default function Ticket({
}
}, [ticketRef])
- // useEffect(() => {
- // if (!sharePage && divRef && divRef.current && isMobileOrTablet()) {
- // scrollTo(divRef.current, -30)
- // }
- // }, [divRef, sharePage])
- // golden = true
-
return (
<div
className="w-full max-w-[800px] xl:max-w-[1100px] flex flex-col items-center xl:grid xl:grid-cols-12 gap-4 xl:gap-8 p-2 bg-[#a988d748] rounded-2xl xl:items-stretch h-auto"