Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobijudah committed Feb 18, 2022
1 parent 203897b commit 571f4ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Preloader/Preloader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ const Preloader: React.FC<PreloaderProps> = ({ windowWidth, setPreloaded }) => {
setTimeout(() => {
preload();
}, 1500);

return () => window.removeEventListener("resize", preload);
}, [letterRefs]);

return (
Expand Down

0 comments on commit 571f4ec

Please sign in to comment.