diff --git a/src/index.tsx b/src/index.tsx index a9328e3..8c7c160 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -205,7 +205,7 @@ const NextTopLoader = ({ return () => { document.removeEventListener('click', handleClick); }; - }, []); + }, [crawl, crawlSpeed, easing, initialPosition, showSpinner, speed, template]); return styles; };