Skip to content

Conversation

@mitoperni
Copy link
Owner

@mitoperni mitoperni commented Feb 9, 2026

Description

Clean up dead component prop interfaces from types/index.ts and rename Location to NetworkLocation to avoid DOM naming collision.

Type of Change

  • Bug fix
  • Refactoring

Changes Made

  • Remove unused component prop interfaces from types/index.ts: NetworkCardProps, NetworkListProps, NetworkFiltersProps, MapContainerProps, StationsTableProps (all defined locally in their respective components)
  • Retain MapPopupProps and SidebarToggleButtonProps which are actively imported and used
  • Rename Location to NetworkLocation to avoid collision with window.Location DOM type

Screenshots (if applicable)

N/A - type-only changes, no visual impact.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No TypeScript errors
  • Tests added/updated
  • All CI checks pass
  • Tested on different screen sizes
  • Loading states implemented
  • Error handling in place

Related Issues

N/A


Open with Devin

@mitoperni mitoperni self-assigned this Feb 9, 2026
@vercel
Copy link

vercel bot commented Feb 9, 2026

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

Project Deployment Actions Updated (UTC)
cyclemap Ready Ready Preview, Comment Feb 9, 2026 5:24pm

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@mitoperni mitoperni merged commit 20cf0a3 into main Feb 9, 2026
6 checks passed
@mitoperni mitoperni deleted the fix/remove-dead-types branch February 10, 2026 08:09
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