import mitt from "mitt"; export type MittEvents = { // event needed so that the App components do re-render // and reload the current course session switchedCourseSession: string; finishedLearningContent: boolean; }; const eventBus = mitt(); export default eventBus;