Skip to content

Antti/modal

Antti/modal #20

Triggered via pull request December 17, 2023 19:04
@anttiasmalaanttiasmala
synchronize #2
antti/modal
Status Success
Total duration 37s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pull-request-lint.yml

on: pull_request
Run linters
29s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
components/DeleteModal.tsx#L23
'dataToDeleteInfo' is never reassigned. Use 'const' instead (prefer-const)
components/Modal.tsx#L7
Insert `·` (prettier/prettier)
pages/index.tsx#L85
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 “Home” and pass data as props (react/no-unstable-nested-components)
pages/index.tsx#L95
Delete `·` (prettier/prettier)
pages/index.tsx#L169
Insert `·` (prettier/prettier)