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 (