Skip to content

chore: remove dead code#10

Open
diegocmaia wants to merge 2 commits intomainfrom
chore/remove-dead-code
Open

chore: remove dead code#10
diegocmaia wants to merge 2 commits intomainfrom
chore/remove-dead-code

Conversation

@diegocmaia
Copy link
Copy Markdown
Contributor

Summary

  • Remove legacy match schemas/types (createMatchSchema, updateMatchSchema, resolveMatchSchema) and the matches DB table — these were replaced by the ESPN event-based model and were never referenced in any query or route
  • Remove placeBetOnEventSchema / PlaceBetOnEventInput (duplicate of placeBetSchema)
  • Delete unused Container and Separator UI components
  • Remove unused LoadingPage and LoadingInline from loading.tsx (only Skeleton is actively used)
  • Remove unused ErrorFallback from error-boundary.tsx
  • Remove container re-export from components/index.ts

Test plan

  • All typechecks pass (verified via pre-commit hook — turbo ran typecheck on all 5 packages successfully)
  • No runtime behaviour changed — all removed code was confirmed unused via grep across the full monorepo

🤖 Generated with Claude Code

- Remove legacy match schemas/types (createMatchSchema, updateMatchSchema, resolveMatchSchema and corresponding types) replaced by ESPN event-based schemas
- Remove placeBetOnEventSchema and PlaceBetOnEventInput (duplicate of placeBetSchema)
- Remove matches DB table and Match/NewMatch types (never referenced in any query)
- Delete unused Container and Separator UI components
- Remove unused LoadingPage and LoadingInline from loading.tsx
- Remove unused ErrorFallback from error-boundary.tsx
- Remove container export from components index

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nobet Ready Ready Preview, Comment Apr 9, 2026 7:17pm
nobet-api Error Error Apr 9, 2026 7:17pm

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: nobet.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: nobet-api.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

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