[Playground] Activity log #11260
Annotations
7 errors
assets/js/common/ActivityLogOverview/ActivityLogOverview.jsx#L1
'useState' is defined but never used
|
assets/js/common/ActivityLogOverview/ActivityLogOverview.jsx#L1
'useEffect' is defined but never used
|
assets/js/pages/ActivityLogPage/ActivityLogPage.jsx#L8
`date-fns` import should occur before import of `../../lib/api/activityLogs`
|
assets/js/pages/ActivityLogPage/ActivityLogPage.jsx#L68
'resourceTypes' is assigned a value but never used
|
assets/js/pages/ActivityLogPage/ActivityLogPage.jsx#L189
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “ActivityLogPage” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
assets/js/pages/ActivityLogPage/ActivityLogPage.jsx#L189
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
|
|
This job failed
Loading