Wizard: Fix HMS-3031, bug in Package's step search

This fixes a bug in the packages step search where hitting enter causes
the wizard to re-render and reset to the first step.
This commit is contained in:
lucasgarfield 2023-11-16 16:00:32 +01:00 committed by Sanne Raymaekers
parent 196e358aa3
commit 0405eda319

View file

@ -253,7 +253,7 @@ const Packages = ({ getAllPackages, isSuccess }) => {
return () => {
document.removeEventListener('keydown', keydownHandler, true);
};
});
}, []);
const updateState = useCallback(
(newChosenPackages) => {