Skip to content

Feat/pals

Feat/pals #238

Triggered via pull request February 19, 2025 14:05
Status Failure
Total duration 2m 57s
Artifacts

ci.yml

on: pull_request
build-android
0s
build-android
build-ios
0s
build-ios
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
build-and-test
Process completed with exit code 1.
build-and-test: src/screens/PalsScreen/PalsScreen.tsx#L97
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 “PalCard” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
build-and-test: src/screens/PalsScreen/PalsScreen.tsx#L102
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 “PalCard” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true