What I was doing
Reviewing PR #536 (issue #442), which replaced the deprecated React.FormEvent with React.SyntheticEvent in apps/web/src/pages/SozlukHome.tsx. The review-code gate noted the same deprecation lives in sibling files that #442's scope explicitly excluded.
What I observed
Four more apps/web/src files use the deprecated React.FormEvent (TS 6385 — FormEvent carries @deprecated in the pinned @types/react, SyntheticEvent does not):
DefinitionCard
SozlukTermPage
PanoPostDetail
PanoSubmitPage
(Exact paths/lines to be confirmed by the implementer via grep -rn 'React.FormEvent' apps/web/src.) #442 named only SozlukHome.tsx, so these were correctly left untouched there — they are the remaining instances of the same one-line fix.
Why it matters
Same deprecation warning class, low-risk mechanical fix. Clearing them removes the residual ts6385 hints and finishes the migration #442 started. No behavior change expected (the handlers still call e.preventDefault(); SyntheticEvent is the non-deprecated supertype of FormEvent).
Pointers
Suggested next step (non-binding)
One small PR applying the same React.FormEvent → React.SyntheticEvent change to all four sites, typecheck to confirm ts6385 is gone. Guess only — triage's call.
Filed by an agent · session bcb88368-23f1-44a9-9302-e517e0fe9afb · branch main · 2026-06-17T04:54:43Z
What I was doing
Reviewing PR #536 (issue #442), which replaced the deprecated
React.FormEventwithReact.SyntheticEventinapps/web/src/pages/SozlukHome.tsx. Thereview-codegate noted the same deprecation lives in sibling files that #442's scope explicitly excluded.What I observed
Four more
apps/web/srcfiles use the deprecatedReact.FormEvent(TS 6385 —FormEventcarries@deprecatedin the pinned@types/react,SyntheticEventdoes not):DefinitionCardSozlukTermPagePanoPostDetailPanoSubmitPage(Exact paths/lines to be confirmed by the implementer via
grep -rn 'React.FormEvent' apps/web/src.) #442 named onlySozlukHome.tsx, so these were correctly left untouched there — they are the remaining instances of the same one-line fix.Why it matters
Same deprecation warning class, low-risk mechanical fix. Clearing them removes the residual ts6385 hints and finishes the migration #442 started. No behavior change expected (the handlers still call
e.preventDefault();SyntheticEventis the non-deprecated supertype ofFormEvent).Pointers
grep -rn 'React.FormEvent' apps/web/srcto enumerate the exact sitesSyntheticEventis the documented replacement (FormEvent<T> extends SyntheticEvent<T>);FormEvent<HTMLFormElement>was explicitly ruled out in SozlukHome onSearchSubmit uses deprecated React.FormEvent (ts 6385) #442 (the interface is deprecated regardless of type arg)Suggested next step (non-binding)
One small PR applying the same
React.FormEvent→React.SyntheticEventchange to all four sites, typecheck to confirm ts6385 is gone. Guess only — triage's call.Filed by an agent · session
bcb88368-23f1-44a9-9302-e517e0fe9afb· branchmain· 2026-06-17T04:54:43Z