Skip to content

Commit

Permalink
fix: create tearsheet reset bug (carbon-design-system#3877)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmenendez authored Dec 1, 2023
1 parent 4172908 commit 97d8e11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const useCreateComponentStepChange = ({
useEffect(() => {
const onUnmount = () => {
if (componentName !== 'CreateFullPage') {
setCurrentStep(0);
setCurrentStep(1);
}
setIsSubmitting(false);
onClose();
Expand Down

0 comments on commit 97d8e11

Please sign in to comment.