Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(UserGuide): fixes
Browse files Browse the repository at this point in the history
marcinsawicki committed Jan 31, 2025
1 parent 9b3da56 commit febfa18
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ export const AnimatedTextContainer: FC<IAnimatedTextContainerProps> = ({
return () => {
clearTimeout(timeout);
};
}, [text, typingAnimation, typingSpeed, typingDelay, onTypingEnd]);
}, [text, typingAnimation]);

return <>{typingAnimation ? displayedText : text}</>;
};
Original file line number Diff line number Diff line change
@@ -83,9 +83,6 @@ export const UserGuideStep: FC<IUserGuideStepProps> = ({
size="large"
onClick={handleClickPrimary}
className={styles[`${baseClass}__footer__button-primary`]}
aria-label={
currentStep === stepMax ? 'Finish user guide' : 'Next step'
}
>
{currentStep === stepMax ? 'Finish' : 'Next'}
</Button>
@@ -96,7 +93,6 @@ export const UserGuideStep: FC<IUserGuideStepProps> = ({
size="large"
onClick={handleCloseAction}
className={styles[`${baseClass}__footer__button-close`]}
aria-label="Skip all steps"
>
Skip all
</Button>

0 comments on commit febfa18

Please sign in to comment.