dashpresshq/dashpress

View on GitHub
src/frontend/components/app/table/hooks.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useSyncTableState has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useSyncTableState<T>(
  table: Table<Record<string, unknown>>,
  overridePaginatedDataState: IPaginatedDataState<T> | undefined,
  syncPaginatedDataStateOut: (params: IPaginatedDataState<T>) => void
) {
Severity: Minor
Found in src/frontend/components/app/table/hooks.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status