feat: profile page, user's interests and details #983
Annotations
10 errors and 10 warnings
Lint:
frontend/mobile/src/app/(app)/(tabs)/profile.tsx#L2
'View' is defined but never used
|
Lint:
frontend/mobile/src/app/(app)/(tabs)/profile.tsx#L73
Replace `·icon={faHeart}·⏎` with `⏎························icon={faHeart}⏎····`
|
Lint:
frontend/mobile/src/app/(app)/(tabs)/profile.tsx#L75
Replace `text="Edit·Interests"` with `····text="Edit·Interests"⏎···················`
|
Lint:
frontend/mobile/src/app/(app)/_layout.tsx#L5
'Arrow' is defined but never used
|
Lint:
frontend/mobile/src/app/(app)/_layout.tsx#L6
'Text' is defined but never used
|
|
|
Lint:
frontend/mobile/src/app/(app)/user/details/[id].tsx#L15
Replace `·COLLEGE,·graduationYear,·MAJORS,·GRADUATION_CYCLE·` with `⏎····COLLEGE,⏎····GRADUATION_CYCLE,⏎····MAJORS,⏎····graduationYear⏎`
|
|
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L103
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#L108
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/details/[id].tsx#L64
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/details/[id].tsx#L69
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/details/[id].tsx#L69
Empty components are self-closing
|
Lint:
frontend/mobile/src/app/(app)/user/details/[id].tsx#L70
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/interests/[id].tsx#L143
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/interests/[id].tsx#L148
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/interests/[id].tsx#L148
Empty components are self-closing
|
Lint:
frontend/mobile/src/app/(app)/user/interests/[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 “UserInterest” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|