Add Club Following #1043
Annotations
10 errors and 10 warnings
Lint:
frontend/mobile/src/app/app/(tabs)/_layout.tsx#L7
'faHouse' is defined but never used
|
Lint:
frontend/mobile/src/app/app/(tabs)/profile.tsx#L9
'faHeart' is defined but never used
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L1
'useEffect' is defined but never used
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L13
Insert `{·clubApi·}·from·'@generatesac/lib';⏎import·`
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L25
'setClubId' is defined but never used
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L25
Insert `Slice';⏎import·{·setUserFollowing·}·from·'@/src/store/slices/user`
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L36
Delete `import·{·clubApi·}·from·'@generatesac/lib';⏎import·{·setUserFollowing·}·from·'@/src/store/slices/userSlice';⏎`
|
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L57
Delete `····`
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L63
Delete `⏎····················`
|
Lint:
frontend/mobile/src/app/app/club/[id].tsx#L104
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 “ClubPage” 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#L99
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#L105
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#L115
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/following.tsx#L30
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 “Following” 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/following.tsx#L35
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 “Following” 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
|