mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 05:35:29 +00:00
parent
edfc12e27a
commit
983b079c82
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ function RootFolderSelectInput({
|
||||||
const handleNewRootFolderSelect = useCallback(
|
const handleNewRootFolderSelect = useCallback(
|
||||||
({ value: newValue }: InputChanged<string>) => {
|
({ value: newValue }: InputChanged<string>) => {
|
||||||
setNewRootFolderPath(newValue);
|
setNewRootFolderPath(newValue);
|
||||||
dispatch(addRootFolder(newValue));
|
dispatch(addRootFolder({ path: newValue }));
|
||||||
},
|
},
|
||||||
[setNewRootFolderPath, dispatch]
|
[setNewRootFolderPath, dispatch]
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue