From 9e9c94b7e1b4990350cef8591ca126b23eadd9b1 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelbaset Date: Thu, 14 Dec 2023 10:00:18 +0200 Subject: [PATCH] Update index.tsx --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };