Updated FE OAuth #1039
Annotations
10 errors and 10 warnings
frontend/mobile/src/app/app/(tabs)/profile.tsx#L16
Insert `resetAccessToken·}·from·'@/src/store/slices/globalSlice';⏎import·{·`
|
frontend/mobile/src/app/app/(tabs)/profile.tsx#L18
Delete `';⏎import·{·resetAccessToken·}·from·'@/src/store/slices/globalSlice`
|
frontend/mobile/src/app/auth/callback.tsx#L9
Insert `LoggedIn·}·from·'@/src/store/slices/globalSlice';⏎import·{·set`
|
frontend/mobile/src/app/auth/callback.tsx#L12
Delete `';⏎import·{·setLoggedIn·}·from·'@/src/store/slices/globalSlice`
|
frontend/mobile/src/app/auth/index.tsx#L7
Insert `setAccessToken·}·from·'@/src/store/slices/globalSlice';⏎import·{·`
|
frontend/mobile/src/app/auth/index.tsx#L10
Delete `';⏎import·{·setAccessToken·}·from·'@/src/store/slices/globalSlice`
|
frontend/mobile/src/store/slices/globalSlice.ts#L1
'Event' is defined but never used
|
frontend/mobile/src/store/slices/globalSlice.ts#L1
'Tag' is defined but never used
|
|
frontend/mobile/src/store/slices/globalSlice.ts#L32
Replace `⏎····setLoggedIn,⏎····setAccessToken,⏎····resetAccessToken⏎}·=` with `·setLoggedIn,·setAccessToken,·resetAccessToken·}·=⏎···`
|
frontend/mobile/src/app/app/club/[id].tsx#L82
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
This job failed
Loading