diff --git a/src/views/components/injected/CourseCatalogInjectedPopup/Description.tsx b/src/views/components/injected/CourseCatalogInjectedPopup/Description.tsx index a385230d7..eccf5cdf8 100644 --- a/src/views/components/injected/CourseCatalogInjectedPopup/Description.tsx +++ b/src/views/components/injected/CourseCatalogInjectedPopup/Description.tsx @@ -5,6 +5,7 @@ import { CourseCatalogScraper } from '@views/lib/CourseCatalogScraper'; import { SiteSupport } from '@views/lib/getSiteSupport'; import clsx from 'clsx'; import React from 'react'; +import Skeleton from 'react-loading-skeleton'; interface DescriptionProps { course: Course; @@ -60,8 +61,8 @@ export default function Description({ course }: DescriptionProps): JSX.Element { Please refresh the page and log back in using your UT EID and password. )} - {/* TODO (achadaga): would be nice to have a new spinner here */} - {status === LoadStatus.LOADING && } + {status === LoadStatus.LOADING && + Array.from({ length: 5 }).map((_, i) => )} {status === LoadStatus.DONE && (