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