import useContestResults from '../useContestResults';
const useContestCandidateColors = function useContestCandidateColors(id) {
  const results = useContestResults(id);
  if (!results) return undefined;
  return results.candidateColors;
};
export default useContestCandidateColors;