ref: Refactoring

This commit is contained in:
Maksim Eltyshev
2023-10-19 16:05:34 +02:00
parent 743f2956c8
commit 40c04c35ff
23 changed files with 96 additions and 91 deletions

View File

@@ -10,14 +10,14 @@ const mapStateToProps = (state) => {
const {
ui: {
authenticateForm: { data: defaultData, isSubmitting, isSubmittingWithOidc, error },
authenticateForm: { data: defaultData, isSubmitting, isSubmittingUsingOidc, error },
},
} = state;
return {
defaultData,
isSubmitting,
isSubmittingWithOidc,
isSubmittingUsingOidc,
error,
withOidc: !!oidcConfig,
};
@@ -27,7 +27,7 @@ const mapDispatchToProps = (dispatch) =>
bindActionCreators(
{
onAuthenticate: entryActions.authenticate,
onAuthenticateWithOidc: entryActions.authenticateWithOidc,
onAuthenticateUsingOidc: entryActions.authenticateUsingOidc,
onMessageDismiss: entryActions.clearAuthenticateError,
},
dispatch,