Skip to content

fix typecheck on build and cluster typing#4

Open
mooncitydev wants to merge 1 commit into
helius-labs:mainfrom
mooncitydev:fix/typecheck-and-cluster-types
Open

fix typecheck on build and cluster typing#4
mooncitydev wants to merge 1 commit into
helius-labs:mainfrom
mooncitydev:fix/typecheck-and-cluster-types

Conversation

@mooncitydev
Copy link
Copy Markdown

hey, noticed next.config was set to ignore typescript and eslint during production builds, which means broken code could ship as long as webpack compiled. pulled those flags so next build actually runs the same checks you get in dev.

also programLabel imported Cluster from web3.js but the program map and call sites use the app cluster enum from utils/cluster, so the types were incompatible and the explorer was in this weird split brain state. swapped the import to match.

last thing, the token delta component imported an svg through a path typescript could not resolve on a clean checkout. using the public url for the placeholder logo avoids that and still works with the error fallback.

programLabel was using web3 Cluster while program metadata uses the app cluster enum, so typescript was fighting itself and the types did not match real usage. token balance fallback image now uses the public path instead of an import typescript could not resolve. dropped ignoreBuildErrors and ignoreDuringBuilds so ci and vercel actually surface problems.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 18, 2026

@mooncitydev is attempting to deploy a commit to the Helius Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant