mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Convert Manual Import to Typescript
This commit is contained in:
@@ -45,7 +45,7 @@ function MovieIndexPosterOptionsModalContent(
|
||||
const dispatch = useDispatch();
|
||||
|
||||
const onPosterOptionChange = useCallback(
|
||||
({ name, value }) => {
|
||||
({ name, value }: { name: string; value: unknown }) => {
|
||||
dispatch(setMoviePosterOption({ [name]: value }));
|
||||
},
|
||||
[dispatch]
|
||||
|
||||
Reference in New Issue
Block a user