mirror of
https://github.com/strapi/strapi.git
synced 2025-10-30 01:17:28 +00:00
Settings: Track didViewWorkflow event only when component mounts
This commit is contained in:
parent
fda4cbea73
commit
09c824e1b1
@ -122,7 +122,8 @@ export function ReviewWorkflowsPage() {
|
||||
|
||||
useEffect(() => {
|
||||
trackUsage('didViewWorkflow');
|
||||
}, [trackUsage]);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<CheckPagePermissions permissions={adminPermissions.settings['review-workflows'].main}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user