diff --git a/src/shared/messages/UserScheduleMessages.ts b/src/shared/messages/UserScheduleMessages.ts index 1fc628e2..0416bf63 100644 --- a/src/shared/messages/UserScheduleMessages.ts +++ b/src/shared/messages/UserScheduleMessages.ts @@ -13,10 +13,12 @@ export interface UserScheduleMessages { /** * Adds a course by URL - * @param data + * + * @param data - The URL of the course to add * @returns Response of the requested course URL */ addCourseByURL: (data: { url: string; method: string; body?: string; response: 'json' | 'text' }) => string; + /** * Remove a course from a schedule * diff --git a/src/views/components/settings/Settings.tsx b/src/views/components/settings/Settings.tsx index 7e27b3ab..de16fc45 100644 --- a/src/views/components/settings/Settings.tsx +++ b/src/views/components/settings/Settings.tsx @@ -1,4 +1,4 @@ -import addCourse from '@pages/background/lib/addCourse'; +// import addCourse from '@pages/background/lib/addCourse'; import { addCourseByURL } from '@pages/background/lib/addCourseByURL'; import { deleteAllSchedules } from '@pages/background/lib/deleteSchedule'; import { initSettings, OptionsStore } from '@shared/storage/OptionsStore'; @@ -14,10 +14,10 @@ import SwitchButton from '@views/components/common/SwitchButton'; import Text from '@views/components/common/Text/Text'; import useChangelog from '@views/hooks/useChangelog'; import useSchedules from '@views/hooks/useSchedules'; -import { CourseCatalogScraper } from '@views/lib/CourseCatalogScraper'; -import getCourseTableRows from '@views/lib/getCourseTableRows'; +// import { CourseCatalogScraper } from '@views/lib/CourseCatalogScraper'; +// import getCourseTableRows from '@views/lib/getCourseTableRows'; import { GitHubStatsService, LONGHORN_DEVELOPERS_ADMINS, LONGHORN_DEVELOPERS_SWE } from '@views/lib/getGitHubStats'; -import { SiteSupport } from '@views/lib/getSiteSupport'; +// import { SiteSupport } from '@views/lib/getSiteSupport'; import { getUpdatedAtDateTimeString } from '@views/lib/getUpdatedAtDateTimeString'; import clsx from 'clsx'; import React, { useCallback, useEffect, useState } from 'react';