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