fix: remove unused logs

This commit is contained in:
2024-01-04 22:50:43 -06:00
parent 8c95537324
commit ab82d0797d
4 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.
+1
View File
@@ -96,6 +96,7 @@ const Hero: FC = () => {
alt="EntGamers" alt="EntGamers"
width={500} width={500}
height={500} height={500}
priority
/> />
</div> </div>
</Container> </Container>
-1
View File
@@ -14,7 +14,6 @@ const Header: FC = () => {
const [isScrolled, setIsScrolled] = useState(typeof window !== 'undefined' ? window.scrollY > 0 : false) const [isScrolled, setIsScrolled] = useState(typeof window !== 'undefined' ? window.scrollY > 0 : false)
const handleScroll = useCallback(() => { const handleScroll = useCallback(() => {
if (typeof window === 'undefined') return if (typeof window === 'undefined') return
console.log(window.scrollY)
setIsScrolled(window.scrollY > 0) setIsScrolled(window.scrollY > 0)
}, []) }, [])
useEffect(() => { useEffect(() => {