import get from 'lodash/get';
import { bops } from "../../../atoms/election/index.js";
import useTimestampedData from '../useTimestampedData';
const useBop = function useBop(bopId) {
  const data = useTimestampedData(bops);
  return get(data, ['bops', bopId]);
};
export default useBop;