unnecessary closeLoaderModal func removed

This commit is contained in:
svetlagasheva 2020-02-17 15:41:05 +02:00
parent 8825e4389f
commit b9a0eb4d5b

View file

@ -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]);