Problem
The AddPinModal component relies on the �ny type for its props and map callbacks.
Why it matters
Bypassing TypeScript's safety checks makes the app brittle to upstream API changes and masks potential runtime errors.
Suggested Solution
Define a strong interface for AddPinModalProps.
Severity
Low
Category
Refactor
Estimated Difficulty
Easy
Files
src/app/(app)/pins/page.tsx`n
Evidence
// src/app/(app)/pins/page.tsx:327
function AddPinModal({ repos, onAdd, onClose }: any) {
Problem
The AddPinModal component relies on the �ny type for its props and map callbacks.
Why it matters
Bypassing TypeScript's safety checks makes the app brittle to upstream API changes and masks potential runtime errors.
Suggested Solution
Define a strong interface for AddPinModalProps.
Severity
Low
Category
Refactor
Estimated Difficulty
Easy
Files
src/app/(app)/pins/page.tsx`n
Evidence