Skip to content

Commit

Permalink
Merge branch 'dev' into forgot-password-success-screen
Browse files Browse the repository at this point in the history
manojleaton committed Sep 27, 2023
1 parent 1875d1d commit 0053708
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -76,8 +76,8 @@ export const ForgotPasswordScreen: React.FC<ForgotPasswordScreenProps> = (props)
WorkflowCardInstructionProps,
WorkflowCardActionsProps,
showSuccessScreen: enableSuccessScreen = true,
slotProps,
slots,
slots = {},
slotProps = {},
emailTextFieldProps,
} = props;

@@ -172,8 +172,8 @@ export const ForgotPasswordScreen: React.FC<ForgotPasswordScreenProps> = (props)
navigate(routeConfig.LOGIN);
},
},
...slotProps.SuccessScreen,
},
...slotProps,
}}
errorDisplayConfig={errorDisplayConfig}
/>
Original file line number Diff line number Diff line change
@@ -40,8 +40,8 @@ export const ResetPasswordScreen: React.FC<ResetPasswordScreenProps> = (props) =
WorkflowCardActionsProps,
PasswordProps,
errorDisplayConfig = errorManagerConfig,
slots,
slotProps,
slots = {},
slotProps = {},
} = props;

const [passwordInput, setPasswordInput] = useState(PasswordProps?.initialNewPasswordValue ?? '');
@@ -184,8 +184,8 @@ export const ResetPasswordScreen: React.FC<ResetPasswordScreenProps> = (props) =
navigate(routeConfig.LOGIN);
},
},
...slotProps.SuccessScreen,
},
...slotProps,
}}
errorDisplayConfig={{
...errorDisplayConfig,

0 comments on commit 0053708

Please sign in to comment.