next step #994
Annotations
10 errors and 10 warnings
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L12
Insert `{·EventType,·clubApi·}·from·'@generatesac/lib';⏎import·{·eventApi·}·from·'@generatesac/lib';⏎import·`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L19
Delete `EventType,·clubApi·}·from·'@generatesac/lib'⏎import·{·`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L21
Insert `';⏎import·EventPageError·from·'./components/error`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L26
Replace `{·eventApi·}·from·'@generatesac/lib';⏎import·EventPageSkeleton·from·'./components/skeleton';⏎import·EventPageError·from·'./components/error` with `EventPageSkeleton·from·'./components/skeleton`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L61
Replace `getEvent,·{·isLoading:·eventLoading,·error:·eventError,·data:·event·}` with `⏎········getEvent,⏎········{·isLoading:·eventLoading,·error:·eventError,·data:·event·}⏎····`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L62
Insert `⏎·······`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L63
Replace `getEventTags,·{·isLoading:·tagsLoading,·error:·tagsError,·data:·tags·}` with `⏎········getEventTags,⏎········{·isLoading:·tagsLoading,·error:·tagsError,·data:·tags·}⏎····`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L102
Delete `⏎············`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L104
Replace `················` with `············`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L105
Delete `····`
|
Lint:
frontend/mobile/src/app/(app)/event/[id].tsx#L63
'tags' is already declared in the upper scope on line 17 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#L138
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#L147
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/(auth)/_layout.tsx#L25
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 “Layout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/(auth)/_layout.tsx#L34
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 “Layout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/(auth)/_layout.tsx#L43
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 “Layout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/(auth)/_layout.tsx#L52
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 “Layout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/(auth)/_layout.tsx#L61
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 “Layout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
Lint:
frontend/mobile/src/app/(auth)/_layout.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 “Layout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|