Custom Reports: add save reports menu #4830
Annotations
5 errors and 8 warnings
typecheck:
packages/loot-core/src/client/data-hooks/reports.ts#L34
'a.name' is possibly 'undefined'.
|
typecheck:
packages/loot-core/src/client/data-hooks/reports.ts#L36
'b.name' is possibly 'undefined'.
|
typecheck
Process completed with exit code 1.
|
lint:
packages/desktop-client/src/components/reports/ReportOptions.ts#L13
React Hook "useCategories" cannot be called at the top level. React Hooks must be called in a React function component or a custom React Hook function
|
lint
Process completed with exit code 1.
|
lint:
packages/desktop-client/src/components/reports/ReportOptions.ts#L2
There should be at least one empty line between import groups
|
|
|
|
lint:
packages/desktop-client/src/components/reports/SaveReport.tsx#L6
'send' is defined but never used. Allowed unused vars must match /^_/u
|
lint:
packages/desktop-client/src/components/reports/SaveReport.tsx#L6
'sendCatch' is defined but never used. Allowed unused vars must match /^_/u
|
lint:
packages/desktop-client/src/components/reports/SaveReport.tsx#L38
'id' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint:
packages/desktop-client/src/components/reports/SaveReportName.tsx#L1
Import "RefObject" is only used as types
|