Wizard: Fix the Failed prop type error

Incorrect proptype for `selectedAvailablePackages` was causing following error:
```Warning: Failed prop type: Invalid prop `selectedAvailablePackages` of type `object` supplied to `ExactMatch`, expected an array.```

This fixes the problem.
This commit is contained in:
regexowl 2023-08-08 13:22:20 +02:00 committed by Lucas Garfield
parent c3397794d6
commit 87ff2a24c9

View file

@ -488,7 +488,7 @@ ExactMatch.propTypes = {
pkgList: PropTypes.arrayOf(PropTypes.object),
search: PropTypes.string,
chosenPackages: PropTypes.object,
selectedAvailablePackages: PropTypes.arrayOf(PropTypes.string),
selectedAvailablePackages: PropTypes.object,
handleSelectAvailableFunc: PropTypes.func,
};