fix: simplify app check #2118
Annotations
10 warnings
all:
src/frontend/contexts/DraftObservationContext.tsx#L38
A/an 'arrow function expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useCallback hook
|
all:
src/frontend/contexts/GPSModalContext.tsx#L15
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|
all:
src/frontend/contexts/LocalDiscoveryContext.tsx#L53
A/an 'arrow function expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useCallback hook
|
all:
src/frontend/contexts/MetricsContext.tsx#L32
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|
all:
src/frontend/contexts/SharedLocationContext.tsx#L54
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|
all:
src/frontend/contexts/TrackTimerContext.tsx#L16
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|
all:
src/frontend/metrics/sendMetricsData.test.ts#L44
Test has no assertions
|
all:
src/frontend/sharedComponents/ActionsRow/KeyboardAccessory.tsx#L40
Do not use Array index as 'key'
|
all:
src/frontend/sharedComponents/BottomSheetModal/Content.tsx#L99
Do not use Array index as 'key'
|
all:
src/frontend/sharedComponents/BottomSheetModal/index.tsx#L107
A/an 'object expression' passed as the value prop to the context provider should not be constructed. It will change on every render. Consider wrapping it in a useMemo hook
|