Skip to content

Linting

Linting #1006

Triggered via push June 15, 2024 18:40
Status Success
Total duration 58s
Artifacts

mobile.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint: frontend/mobile/src/app/(app)/event/[id].tsx#L69
'tags' is already declared in the upper scope on line 19 column 31
Lint: frontend/mobile/src/app/(app)/event/[id].tsx#L133
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 “EventPage” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/event/[id].tsx#L139
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 “EventPage” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/event/[id].tsx#L149
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 “EventPage” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/user/detail.tsx#L71
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 “UserDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/user/detail.tsx#L76
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 “UserDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/user/detail.tsx#L77
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 “UserDetails” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/user/interest.tsx#L154
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 “UserInterest” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/user/interest.tsx#L159
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 “UserInterest” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
Lint: frontend/mobile/src/app/(app)/user/interest.tsx#L160
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 “UserInterest” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true