diff --git a/src/components/forms/AccountForm.js b/src/components/forms/AccountForm.js index f9b6298..dfe4703 100644 --- a/src/components/forms/AccountForm.js +++ b/src/components/forms/AccountForm.js @@ -189,7 +189,7 @@ const AccountForm = props => { // eslint-disable-next-line }, []); - const handleSumit = async (e) => { + const handleSubmit = async (e) => { let isMounted = true; try { setShowLoader(true); @@ -348,7 +348,7 @@ const AccountForm = props => { :
{(props.type === 'add' || props.type === 'edit') && ( @@ -522,7 +522,7 @@ const AccountForm = props => { right to="/create-application" > - Skip for now — I'l complete later + Skip for now — I'll complete later )} diff --git a/src/components/forms/ApplicationForm.js b/src/components/forms/ApplicationForm.js index 16dc4f5..22bd714 100644 --- a/src/components/forms/ApplicationForm.js +++ b/src/components/forms/ApplicationForm.js @@ -215,7 +215,7 @@ const ApplicationForm = props => { }, []); - const handleSumit = async (e) => { + const handleSubmit = async (e) => { let isMounted = true; try { setShowLoader(true); @@ -394,7 +394,7 @@ const ApplicationForm = props => { ? :
{(props.type === 'add' || props.type === 'edit') && ( diff --git a/src/components/forms/SipTrunkForm.js b/src/components/forms/SipTrunkForm.js index b3c7acb..b0a604d 100644 --- a/src/components/forms/SipTrunkForm.js +++ b/src/components/forms/SipTrunkForm.js @@ -211,7 +211,7 @@ const SipTrunkForm = props => { setSipGateways(newSipGateways); }; - const handleSumit = async e => { + const handleSubmit = async e => { let isMounted = true; try { setShowLoader(true); @@ -538,7 +538,7 @@ const SipTrunkForm = props => { ? :