diff --git a/frontend/src/Components/Form/Select/RootFolderSelectInput.tsx b/frontend/src/Components/Form/Select/RootFolderSelectInput.tsx index 68b3d3da2..8b278ded7 100644 --- a/frontend/src/Components/Form/Select/RootFolderSelectInput.tsx +++ b/frontend/src/Components/Form/Select/RootFolderSelectInput.tsx @@ -134,7 +134,7 @@ function RootFolderSelectInput({ const handleNewRootFolderSelect = useCallback( ({ value: newValue }: InputChanged) => { setNewRootFolderPath(newValue); - dispatch(addRootFolder(newValue)); + dispatch(addRootFolder({ path: newValue })); }, [setNewRootFolderPath, dispatch] );