[Playground] Activity log #11098
Annotations
5 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#L66
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#L66
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
|
|
This job failed
Loading