feat(lago-668) - Manual payment #6657
Annotations
2 errors and 10 warnings
Run linters
'payBack' is assigned a value but never used
|
Run linters
Process completed with exit code 1.
|
Run linters:
scripts/transforms/skeleton-migrate-margin-values.js#L34
Do not nest ternary expressions
|
Run linters:
src/components/ErrorBoundary.tsx#L14
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
Run linters:
src/components/TimezoneDate.tsx#L82
Do not nest ternary expressions
|
Run linters:
src/components/billableMetrics/DeleteBillableMetricDialog.tsx#L87
Do not nest ternary expressions
|
Run linters:
src/components/coupons/DeleteCouponDialog.tsx#L86
Do not nest ternary expressions
|
Run linters
React Hook useEffect has missing dependencies: 'currency', 'maxCreditableAmountCents', 'maxRefundableAmountCents', 'setPayBackValidation', and 'totalTaxIncluded'. Either include them or remove the dependency array. If 'setPayBackValidation' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run linters
React Hook useEffect has missing dependencies: 'currency', 'currencyPrecision', 'formikProps', 'maxRefundableAmountCents', 'payBack', and 'totalTaxIncluded'. Either include them or remove the dependency array
|
Run linters
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Run linters
React Hook useEffect has missing dependencies: 'currencyPrecision' and 'formikProps'. Either include them or remove the dependency array
|
Run linters
Do not nest ternary expressions
|