From b9a0eb4d5b9c282cde9a0c0413a08f955836c7e5 Mon Sep 17 00:00:00 2001 From: svetlagasheva Date: Mon, 17 Feb 2020 15:41:05 +0200 Subject: [PATCH] unnecessary closeLoaderModal func removed --- src/routes/Intro/Intro.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/Intro/Intro.js b/src/routes/Intro/Intro.js index 60a2224ac..168eb2e15 100644 --- a/src/routes/Intro/Intro.js +++ b/src/routes/Intro/Intro.js @@ -257,7 +257,6 @@ const Intro = ({ queryParams }) => { }, [queryParams]); React.useEffect(() => { if (typeof state.error === 'string' && state.error.length > 0) { - closeLoaderModal(); errorRef.current.scrollIntoView(); } }, [state.error]);