fix: remove unused logs
This commit is contained in:
@@ -96,6 +96,7 @@ const Hero: FC = () => {
|
||||
alt="EntGamers"
|
||||
width={500}
|
||||
height={500}
|
||||
priority
|
||||
/>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
@@ -14,7 +14,6 @@ const Header: FC = () => {
|
||||
const [isScrolled, setIsScrolled] = useState(typeof window !== 'undefined' ? window.scrollY > 0 : false)
|
||||
const handleScroll = useCallback(() => {
|
||||
if (typeof window === 'undefined') return
|
||||
console.log(window.scrollY)
|
||||
setIsScrolled(window.scrollY > 0)
|
||||
}, [])
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user