V2Wizard: Update removePackage reducer

This updates the `removePackage` reducer so it takes only a name of a package as an argument instead of the entire package object.
This commit is contained in:
regexowl 2024-03-22 10:10:05 +01:00 committed by Lucas Garfield
parent 1dd909adb9
commit d219a233d9
2 changed files with 3 additions and 3 deletions

View file

@ -247,7 +247,7 @@ const Packages = () => {
if (isSelecting) {
dispatch(addPackage(pkg));
} else {
dispatch(removePackage(pkg));
dispatch(removePackage(pkg.name));
}
};