build warning fix
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ import {
|
||||
touch,
|
||||
SubmissionError,
|
||||
} from "redux-form";
|
||||
import { connect, submitError } from "react-redux";
|
||||
import { connect } from "react-redux";
|
||||
import { createCRMTask, sendEmail } from "../actions";
|
||||
|
||||
import { useState } from "react";
|
||||
@@ -527,7 +527,7 @@ export default connect(
|
||||
destroyOnUnmount: false,
|
||||
touchOnBlur: true,
|
||||
touchOnChange: true,
|
||||
onSubmitFail: (errors, dispatch, subnittError, props) => {
|
||||
onSubmitFail: (errors, dispatch, submitError, props) => {
|
||||
if (errors) {
|
||||
// Touch all fields with errors so validation messages appear
|
||||
const errorFields = Object.keys(errors);
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
touch,
|
||||
SubmissionError,
|
||||
} from "redux-form";
|
||||
import { connect, submitError } from "react-redux";
|
||||
import { connect } from "react-redux";
|
||||
import { createCRMTask, sendEmail } from "../../actions";
|
||||
|
||||
import { useState } from "react";
|
||||
@@ -528,7 +528,7 @@ export default connect(
|
||||
destroyOnUnmount: false,
|
||||
touchOnBlur: true,
|
||||
touchOnChange: true,
|
||||
onSubmitFail: (errors, dispatch, subnittError, props) => {
|
||||
onSubmitFail: (errors, dispatch, submitError, props) => {
|
||||
if (errors) {
|
||||
// Touch all fields with errors so validation messages appear
|
||||
const errorFields = Object.keys(errors);
|
||||
|
||||
Reference in New Issue
Block a user