mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-05 13:21:25 -05:00
Convert Form Components to TypeScript
Co-authored-by: Mark McDowall <mark@mcdowall.ca> Remove defaultProps from TypeScript components (cherry picked from commit a90c13e86f798841cb6db038bb6b6d1408a00585) Fix multi-select checkboxes not appearing (cherry picked from commit e199710c15fbfa643a9f71c7a20f70b1722d0df6)
This commit is contained in:
@@ -212,7 +212,7 @@ function NamingModal(props: NamingModalProps) {
|
||||
);
|
||||
|
||||
const handleInputSelectionChange = useCallback(
|
||||
(selectionStart: number, selectionEnd: number) => {
|
||||
(selectionStart: number | null, selectionEnd: number | null) => {
|
||||
setSelectionStart(selectionStart);
|
||||
setSelectionEnd(selectionEnd);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user