import { TableConfig, useTableManager } from '@/hooks/use-table-manager';
import {
  _AddNewRoadmap,
  _SubmittedRoadmap,
} from '@/shared/_mock/_roadMap';
import { IGeolocHistory } from '@/shared/types/geoloc';
import { _geolocHistory, DEFAULT_GEOLOC_HISTORY_TABLE_HEAD } from '@/shared/_mock/_geolocData';

const clientConfig: TableConfig<IGeolocHistory> = {
  initialData: _geolocHistory,
  defaultTableHead: DEFAULT_GEOLOC_HISTORY_TABLE_HEAD,
};
export function useGeolocHistoryTable() {
  return useTableManager<IGeolocHistory>(clientConfig);
}
