File tree Expand file tree Collapse file tree 10 files changed +14
-39
lines changed
Expand file tree Collapse file tree 10 files changed +14
-39
lines changed Original file line number Diff line number Diff line change 1- FROM node:18.17.1
1+ FROM node:23
22
33WORKDIR /home/node/app
44
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ module.exports = withSentryConfig({
2727 ? undefined
2828 : require . resolve ( "./cache-handler.mjs" ) ,
2929 generateBuildId :
30- process . env . VERCEL_ENV === "preview"
30+ process . env . VERCEL_ENV === "preview" || ! process . env . GIT_HASH
3131 ? undefined
3232 : async ( ) => {
3333 return process . env . GIT_HASH ;
@@ -138,7 +138,4 @@ module.exports = withSentryConfig({
138138
139139 return config ;
140140 } ,
141- experimental : {
142- instrumentationHook : true ,
143- } ,
144141} ) ;
Original file line number Diff line number Diff line change 1- import { SnakeLongNeck } from "@python-italia/pycon-styleguide/illustrations" ;
2- import clsx from "clsx" ;
31import QRCode from "react-qr-code" ;
42import Balancer from "react-wrap-balancer" ;
53
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { CoverPage } from "./cover-page";
44import { LocationPage } from "./location-page" ;
55import { OptionsPage } from "./options-page" ;
66import { OverviewPage } from "./overview-page" ;
7- import { Benefit , Package , PricingPage } from "./pricing-page" ;
7+ import { PricingPage } from "./pricing-page" ;
88import { TestimonialsPage } from "./testimonial-page" ;
99import { WhySponsorPage } from "./why-sponsor-page" ;
1010
Original file line number Diff line number Diff line change 11import type { ApolloError } from "@apollo/client" ;
22import {
33 Button ,
4- CardPart ,
54 Checkbox ,
65 Grid ,
7- Heading ,
86 HorizontalStack ,
9- Input ,
10- InputWrapper ,
117 Link ,
12- MultiplePartsCard ,
13- Select ,
148 Spacer ,
159 Text ,
16- Textarea ,
17- VerticalStack ,
1810} from "@python-italia/pycon-styleguide" ;
1911import type React from "react" ;
20- import { Fragment , useEffect } from "react" ;
12+ import { useEffect } from "react" ;
2113import { FormattedMessage } from "react-intl" ;
2214import { useFormState } from "react-use-form-state" ;
2315
@@ -30,14 +22,11 @@ import {
3022 useParticipantDataQuery ,
3123} from "~/types" ;
3224
33- import { useTranslatedMessage } from "~/helpers/use-translated-message" ;
3425import { createHref } from "../link" ;
35- import { MultiLingualInput } from "../multilingual-input" ;
3626import {
3727 type ParticipantFormFields ,
3828 PublicProfileCard ,
3929} from "../public-profile-card" ;
40- import { TagsSelect } from "../tags-select" ;
4130import { AboutYouSection } from "./about-you-section" ;
4231import { AvailabilitySection } from "./availability-section" ;
4332import { ProposalSection } from "./proposal-section" ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010 Text ,
1111} from "@python-italia/pycon-styleguide" ;
1212import type React from "react" ;
13- import { useCallback , useRef , useState } from "react" ;
13+ import { useCallback , useRef } from "react" ;
1414import { FormattedMessage } from "react-intl" ;
1515
1616import { useTranslatedMessage } from "~/helpers/use-translated-message" ;
Original file line number Diff line number Diff line change 1- import React from "react" ;
1+ import React , { type ComponentType } from "react" ;
22import {
33 type DropdownIndicatorProps ,
44 type MultiValue ,
@@ -15,11 +15,16 @@ type TagsSelectProps = {
1515 onChange ?: ( tags : MultiValue < { value : string } > ) => void ;
1616} ;
1717
18+ // const BaseDropdownIndicator = components.DropdownIndicator as unknown as ReactNode
19+ const BaseDropdownIndicator = components . DropdownIndicator as ComponentType <
20+ DropdownIndicatorProps < any , true >
21+ > ;
22+
1823const DropdownIndicator = ( props : DropdownIndicatorProps < any , true > ) => {
1924 return (
20- < components . DropdownIndicator { ...props } >
25+ < BaseDropdownIndicator { ...props } >
2126 < ArrowDownIcon />
22- </ components . DropdownIndicator >
27+ </ BaseDropdownIndicator >
2328 ) ;
2429} ;
2530
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ import type {
99 TicketsQueryResult ,
1010} from "~/types" ;
1111
12- import { Text } from "@python-italia/pycon-styleguide" ;
13- import { FormattedMessage } from "react-intl" ;
1412import { ProductsList } from "../products-list" ;
1513import { useLoginState } from "../profile/hooks" ;
1614import { CheckoutBar } from "./checkout-bar" ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ import {
88} from "@python-italia/pycon-styleguide" ;
99import { FormattedMessage } from "react-intl" ;
1010
11- import type { GetServerSideProps , GetStaticProps } from "next" ;
11+ import type { GetServerSideProps } from "next" ;
1212
1313import { useRouter } from "next/router" ;
14- import { useEffect } from "react" ;
1514import { addApolloState , getApolloClient } from "~/apollo/client" ;
1615import { Introduction } from "~/components/cfp-introduction" ;
1716import { CfpSendSubmission } from "~/components/cfp-send-submission" ;
You can’t perform that action at this time.
0 commit comments