From 11f498323c34f5798c44d7cc8b2dda0e99f8ac92 Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Mon, 2 Jan 2023 13:10:30 +0530 Subject: [PATCH] Fixed a Error --- src/OnboardingSPA/components/SocialMediaForm/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OnboardingSPA/components/SocialMediaForm/index.js b/src/OnboardingSPA/components/SocialMediaForm/index.js index 26ebd5c44..16f24265e 100644 --- a/src/OnboardingSPA/components/SocialMediaForm/index.js +++ b/src/OnboardingSPA/components/SocialMediaForm/index.js @@ -104,11 +104,10 @@ const SocialMediaForm = ({ socialData, setSocialData, setIsValidSocials, isSocia } } - setDataAndActiveErrorState( data, activeError); + setDataAndActiveErrorState(data, socialInput, activeError); } - const setDataAndActiveErrorState = (data, activeError) => { - + const setDataAndActiveErrorState = (data, socialInput, activeError) => { if (!data){ var activeErrorFiltered = activeError.filter(function (item) { return item !== socialInput