From b58f0a433825a7737eec58891256ef9865bb6137 Mon Sep 17 00:00:00 2001 From: r-freeman Date: Thu, 26 Jan 2023 23:50:25 +0000 Subject: [PATCH] Updated views component --- components/Views.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Views.tsx b/components/Views.tsx index 0f6a6ca..2b3d755 100644 --- a/components/Views.tsx +++ b/components/Views.tsx @@ -27,7 +27,7 @@ export function Views({as: Component = 'span', slug, className, shouldUpdateView if (shouldUpdateViews) { updateViews(slug).then(r => r); } - }, [slug]) + }, [slug, shouldUpdateViews]) return (