[vip-travel] Create Trip Details Screen #6463
lint-changed.yml
on: pull_request
Changed files ESLint check
1m 23s
Annotations
10 errors and 3 warnings
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L2
'useRef' is defined but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L24
'Test' is assigned a value but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L25
'styles' is assigned a value but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L26
'theme' is assigned a value but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L27
'shouldUseNarrowLayout' is assigned a value but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L30
'approverTitle' is assigned a value but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L32
Unsafe member access .approvers on an `error` typed value
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L33
Unsafe member access .approvers on an `error` typed value
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L36
'members' is assigned a value but never used
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L37
Unsafe member access .isDefault on an `error` typed value
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L33
React Hook useCallback has an unnecessary dependency: 'approvalWorkflow.approvers.length'. Either exclude it or remove the dependency array. Outer scope values like 'approvalWorkflow.approvers.length' aren't valid dependencies because mutating them doesn't re-render the component
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L44
React Hook useMemo has an unnecessary dependency: 'approvalWorkflow.isDefault'. Either exclude it or remove the dependency array. Outer scope values like 'approvalWorkflow.isDefault' aren't valid dependencies because mutating them doesn't re-render the component
|
Changed files ESLint check:
src/components/ApprovalWorkflowSection.tsx#L69
React Hook useMemo has a missing dependency: 'translate'. Either include it or remove the dependency array
|