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:
@@ -42,7 +42,7 @@ function SeriesIndexPosterOptionsModalContent(
|
||||
const dispatch = useDispatch();
|
||||
|
||||
const onPosterOptionChange = useCallback(
|
||||
({ name, value }) => {
|
||||
({ name, value }: { name: string; value: unknown }) => {
|
||||
dispatch(setSeriesPosterOption({ [name]: value }));
|
||||
},
|
||||
[dispatch]
|
||||
|
||||
Reference in New Issue
Block a user