diff --git a/src/components/profile/UserSettings.astro b/src/components/profile/UserSettings.astro index 49598a1..9f2a7b1 100644 --- a/src/components/profile/UserSettings.astro +++ b/src/components/profile/UserSettings.astro @@ -1,6 +1,8 @@ --- -// Import the majors list +// Import the majors list and FilePreviewModal import allMajors from "../../data/allUCSDMajors.txt?raw"; +import FilePreviewModal from "../modals/FilePreviewModal.astro"; + const majorsList: string[] = allMajors .split("\n") .filter((major: string) => major.trim()) @@ -226,49 +228,8 @@ const majorsList: string[] = allMajors - - - - - + +