mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Typings cleanup and improvements
This commit is contained in:
@@ -27,8 +27,8 @@ function InteractiveImportModal(props: InteractiveImportModalProps) {
|
||||
const previousIsOpen = usePrevious(isOpen);
|
||||
|
||||
const onFolderSelect = useCallback(
|
||||
(f) => {
|
||||
setFolderPath(f);
|
||||
(path: string) => {
|
||||
setFolderPath(path);
|
||||
},
|
||||
[setFolderPath]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user