{"size": 404, "ext": "js", "max_stars_repo_path": "examtool_web_common/js/ExamContext.js", "max_stars_repo_name": "akshitdewan/cs61a-apps", "max_stars_repo_stars_event_min_datetime": "2020-09-10T01:45:09.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-10T23:24:03.000Z", "max_issues_repo_path": "examtool_web_common/js/ExamContext.js", "max_issues_repo_name": "akshitdewan/cs61a-apps", "max_issues_repo_issues_event_min_datetime": "2020-08-24T06:22:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-10T02:36:11.000Z", "max_forks_repo_path": "examtool_web_common/js/ExamContext.js", "max_forks_repo_name": "akshitdewan/cs61a-apps", "max_forks_repo_forks_event_min_datetime": "2020-08-28T22:05:10.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-04T12:47:05.000Z"}
{"max_stars_count": 5, "max_issues_count": 424, "max_forks_count": 7, "avg_line_length": 22.4444444444, "max_line_length": 38, "alphanum_fraction": 0.646039604}
import { createContext } from "react";

const ExamContext = createContext({
  exam: "",
  savedAnswers: {},
  onInternetError: () => null,
  recordUnsaved: () => null,
  recordSaved: () => null,
  recordSolved: () => null,
  recordUnsolved: () => null,
  setStarred: () => null,
  unsavedQuestions: new Set(),
  solvedQuestions: new Map(),
  starredQuestions: new Map(),
});

export default ExamContext;
