import { TableConfig, useTableManager } from '@/hooks/use-table-manager';
import { IOldRoadmap } from '@/shared/types/driver';
import {_oldRoadmap, DEFAULT_OLD_ROADMAPS_TABLE_HEAD } from '@/shared/_mock/_roadMap';

const clientConfig: TableConfig<IOldRoadmap> = {
  initialData: _oldRoadmap,
  defaultTableHead: DEFAULT_OLD_ROADMAPS_TABLE_HEAD,
};
export function useOldRoadMapTable() {
  return useTableManager<IOldRoadmap>(clientConfig);
}

