From b4451dc7ee3336064f76899126b81556757386c0 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Fri, 13 Jun 2025 12:53:51 +0100 Subject: [PATCH] build warning fix --- pages/contactus.js | 4 ++-- pages/myportal/contactus.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/contactus.js b/pages/contactus.js index 7de8951d..25c8f333 100644 --- a/pages/contactus.js +++ b/pages/contactus.js @@ -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); diff --git a/pages/myportal/contactus.js b/pages/myportal/contactus.js index 5c4007ab..b503ac2d 100644 --- a/pages/myportal/contactus.js +++ b/pages/myportal/contactus.js @@ -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);