Skip to content

Commit d16846c

Browse files
regexowlkingsleyzissou
authored andcommitted
Wizard: Fix initialization ref
This resets the reference for Wizard initialization, so when the Wizard gets closed and re-opened, it will be initialized with fresh values.
1 parent cc9b4d2 commit d16846c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Components/CreateImageWizard/CreateImageWizard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ const CreateImageWizard = () => {
356356
const handleClose = () => {
357357
dispatch(closeWizardModal());
358358
dispatch(initializeWizard());
359+
hasInitialized.current = false;
359360
hasTrackedInitialStepRef.current = false;
360361
hasTrackedWizardOpenedRef.current = false;
361362

0 commit comments

Comments
 (0)