Update completed modal (add onClose)

This commit is contained in:
danidfra 2024-10-02 20:07:45 -03:00
parent 36a40755a7
commit c53fa16e39
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const OnboardingFlowModal: React.FC<IOnboardingFlowModal> = ({ onClose }) => {
<SuggestedAccountsModal onClose={handleComplete} onNext={handleNextStep} />,
];
steps.push(<CompletedModal onComplete={handleComplete} />);
steps.push(<CompletedModal onComplete={handleComplete} onClose={handleComplete} />);
const handleKeyUp = ({ key }: KeyboardEvent): void => {
switch (key) {