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