diff --git a/src/components/Preloader/Preloader.tsx b/src/components/Preloader/Preloader.tsx index 17b6fdd..576f7f3 100644 --- a/src/components/Preloader/Preloader.tsx +++ b/src/components/Preloader/Preloader.tsx @@ -46,8 +46,6 @@ const Preloader: React.FC = ({ windowWidth, setPreloaded }) => { setTimeout(() => { preload(); }, 1500); - - return () => window.removeEventListener("resize", preload); }, [letterRefs]); return (