const getContestLink = function getContestLink(contestMeta) {
  if (!contestMeta) return undefined;
  const {
    stateFips,
    office = 'index'
  } = contestMeta;
  return `state:${stateFips}:${office}`;
};
export default getContestLink;