diff --git a/src/components/MainSection/index.js b/src/components/MainSection/index.js index d6b1b61..e487569 100644 --- a/src/components/MainSection/index.js +++ b/src/components/MainSection/index.js @@ -59,6 +59,8 @@ class MainSectionContainer extends React.Component { scrollEvent = (e) => { + if (!mobileCheck()) return; + const scrollY = window.pageYOffset; const windowY = document.documentElement.scrollHeight;