diff --git a/__tests__/search-filters.test.ts b/__tests__/search-filters.test.ts index 6c15277..e784d2a 100644 --- a/__tests__/search-filters.test.ts +++ b/__tests__/search-filters.test.ts @@ -1,9 +1,9 @@ -import { FilterValues } from "@/components/search/search"; +import { FilterValues } from "@/components/search/Search"; import { endsBefore, filterData, startsAfter, -} from "@/components/search/filterUtils"; +} from "@/components/search/filter-utils"; import "@testing-library/jest-dom"; const data = { diff --git a/app/search/page.tsx b/app/search/page.tsx index ecf1944..75bde11 100644 --- a/app/search/page.tsx +++ b/app/search/page.tsx @@ -1,4 +1,4 @@ -import Search from "@/components/search/search"; +import Search from "@/components/search/Search"; import React from "react"; const SearchPage = () => { diff --git a/components/search/blurb.tsx b/components/search/blurb.tsx index b458de2..7699438 100644 --- a/components/search/blurb.tsx +++ b/components/search/blurb.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { CollegeObject, FilterValues } from "./search"; +import { CollegeObject, FilterValues } from "./Search"; interface BlurbProps { filterData: ( diff --git a/components/search/filterUtils.ts b/components/search/filter-utils.ts similarity index 98% rename from components/search/filterUtils.ts rename to components/search/filter-utils.ts index 8eb8d46..8265e08 100644 --- a/components/search/filterUtils.ts +++ b/components/search/filter-utils.ts @@ -1,4 +1,4 @@ -import { CollegeObject, FilterValues } from "./search"; +import { CollegeObject, FilterValues } from "./Search"; export const startsAfter = ( start: string | undefined, diff --git a/components/search/filterComponents.tsx b/components/search/filterComponents.tsx index 2f72fd7..d8f3591 100644 --- a/components/search/filterComponents.tsx +++ b/components/search/filterComponents.tsx @@ -2,7 +2,7 @@ import React, { ChangeEvent, Dispatch, SetStateAction, useState } from "react"; import { FaCheck, FaChevronDown } from "react-icons/fa"; -import { CollegeObject } from "./search"; +import { CollegeObject } from "./Search"; interface FilterCheckboxProps { title: string; diff --git a/components/search/filters.tsx b/components/search/filters.tsx index 6a3f32e..e6f629a 100644 --- a/components/search/filters.tsx +++ b/components/search/filters.tsx @@ -6,7 +6,7 @@ import { UnitsFilter, } from "./filterComponents"; import { FaCircleXmark } from "react-icons/fa6"; -import { CollegeObject, FilterValues } from "./search"; +import { CollegeObject, FilterValues } from "./Search"; interface SearchFilterProps { handleClick: () => void; diff --git a/components/search/search.tsx b/components/search/search.tsx index 5f675fc..efc5db2 100644 --- a/components/search/search.tsx +++ b/components/search/search.tsx @@ -9,7 +9,7 @@ import SearchResults from "./searchResults"; import { FaFilter } from "react-icons/fa6"; import { SearchFilterPage, SearchFilters } from "./filters"; import SearchBlurb from "./blurb"; -import { filterData } from "./filterUtils"; +import { filterData } from "./filter-utils"; import { UNIVERSITY_GE } from "@/lib/constants"; import { analyticsEnum, logAnalytics } from "@/lib/analytics"; diff --git a/components/search/searchResults.tsx b/components/search/searchResults.tsx index bcd55c1..47b2272 100644 --- a/components/search/searchResults.tsx +++ b/components/search/searchResults.tsx @@ -1,6 +1,6 @@ import LazyLoad from "react-lazy-load"; import { FaUpRightFromSquare } from "react-icons/fa6"; -import { CollegeObject } from "./search"; +import { CollegeObject } from "./Search"; import Tags from "./tags"; interface SearchResultsProps {