Updated views component

This commit is contained in:
r-freeman 2023-04-13 17:36:52 +01:00
parent abd626a646
commit 962d1abffa

View File

@ -49,7 +49,7 @@ export function Views({as: Component = 'span', slug, className, shouldUpdateView
) )
} }
registerView() registerView().then(() => mutate(`/api/views/${slug}`))
} }
}, []) }, [])