-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore/update next 15 #1756
Chore/update next 15 #1756
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Heimdall Review Status
|
Approved review 2613145324 from kirkas is now dismissed due to new commit. Re-request for approval.
@@ -36,9 +36,6 @@ const baseConfig = { | |||
|
|||
// Enable strict mode in development | |||
reactStrictMode: !isProdEnv, | |||
|
|||
// Minify for production builds | |||
swcMinify: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no longer valid property in next config
@@ -35,7 +35,7 @@ body { | |||
height: 100%; | |||
margin: 0; | |||
min-height: 100vh; | |||
font-family: '__coinbaseDisplay_7118f1'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
outdated font reference, replaced with var
@@ -5,6 +5,10 @@ module.exports = { | |||
'plugin:react/jsx-runtime', | |||
'eslint-config-prettier', | |||
], | |||
parserOptions: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolves build issue:
Error while loading rule '@typescript-eslint/no-unsafe-argument': You have used a rule which requires parserServices to be generated. You must therefore provide a value for the "parserOptions.project" property for @typescript-eslint/parser.
➤ YN0000: Parser: /home/runner/work/web/web/apps/web/node_modules/eslint-config-next/node_modules/@typescript-eslint/parser/dist/index.js
➤ YN0000: Occurred while linting /home/runner/work/web/web/apps/web/app/(base-org)/(root)/page.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirkas not sure why I get this build error now, but any issue with this addition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems fine
export type MappedDiscountData = { | ||
[key in Discount]?: DiscountData; | ||
}; | ||
export type MappedDiscountData = Partial<Record<Discount, DiscountData>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirkas not sure why popped up now, but I was getting "unused variable key
" error.
i believe my change is equivalent but doesn't introduce the unused variable. would be nice if you could confirm
|
||
export function findFirstValidDiscount( | ||
aggregatedData: MappedDiscountData, | ||
): DiscountData | undefined { | ||
const priorityOrder: Partial<{ [key in Discount]: number }> & { default: 3 } = { | ||
const priorityOrder: Partial<Record<Discount, number>> & { default: 3 } = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirkas same "unused key" error
const validators: { | ||
[key in ProofTableNamespace]: Record<number, Address>; | ||
} = { | ||
const validators: Record<ProofTableNamespace, Record<number, Address>> = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirkas same unused key error
[key in DiscountType]?: DiscountValue; | ||
}; | ||
export type DiscountTypes = Partial<Record<DiscountType, DiscountValue>>; | ||
|
||
export type PreviousClaims = { | ||
[key in DiscountType]?: PreviousClaim; | ||
}; | ||
export type PreviousClaims = Partial<Record<DiscountType, PreviousClaim>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kirkas same unused key error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - would follow the codeflow deploys closely, maybe do a dev deploy?
What changed? Why?
Notes to reviewers
How has it been tested?
Locally and with vercel preview
/
,/about
,/bootcamp
,/build
,/ecosystem
,/jobs
,/third-party-cookies
/names
,/name/shrek
tested claiming a basename
![image](https://private-user-images.githubusercontent.com/39347156/412607814-4deeba58-7a46-4461-9e39-d4102f11b567.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTg4MDksIm5iZiI6MTczOTY1ODUwOSwicGF0aCI6Ii8zOTM0NzE1Ni80MTI2MDc4MTQtNGRlZWJhNTgtN2E0Ni00NDYxLTllMzktZDQxMDJmMTFiNTY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIyMjgyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU0YWVlYjkxMTM4NWE0YjBmNjhiNjhiZDE2MWI4ODZhYWIzNTQ5ODQ3ZWNmMTQ5ZTlhYTZjODBiMWM2YTViNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.d6nB3PGnGqDAkd8R1bz4uFuf_BAWuIm7uoheF3s-d4s)