Update completed modal (add onClose)
This commit is contained in:
parent
36a40755a7
commit
c53fa16e39
|
@ -53,7 +53,7 @@ const OnboardingFlowModal: React.FC<IOnboardingFlowModal> = ({ onClose }) => {
|
||||||
<SuggestedAccountsModal onClose={handleComplete} onNext={handleNextStep} />,
|
<SuggestedAccountsModal onClose={handleComplete} onNext={handleNextStep} />,
|
||||||
];
|
];
|
||||||
|
|
||||||
steps.push(<CompletedModal onComplete={handleComplete} />);
|
steps.push(<CompletedModal onComplete={handleComplete} onClose={handleComplete} />);
|
||||||
|
|
||||||
const handleKeyUp = ({ key }: KeyboardEvent): void => {
|
const handleKeyUp = ({ key }: KeyboardEvent): void => {
|
||||||
switch (key) {
|
switch (key) {
|
||||||
|
|
Loading…
Reference in New Issue