Skip to content

Commit

Permalink
chore: update file names
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Dec 29, 2023
1 parent 0a94429 commit bdb23a4
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions __tests__/search-filters.test.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion app/search/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Search from "@/components/search/search";
import Search from "@/components/search/Search";
import React from "react";

const SearchPage = () => {
Expand Down
2 changes: 1 addition & 1 deletion components/search/blurb.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { CollegeObject, FilterValues } from "./search";
import { CollegeObject, FilterValues } from "./Search";

interface BlurbProps {
filterData: (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CollegeObject, FilterValues } from "./search";
import { CollegeObject, FilterValues } from "./Search";

export const startsAfter = (
start: string | undefined,
Expand Down
2 changes: 1 addition & 1 deletion components/search/filterComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/search/filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/search/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion components/search/searchResults.tsx
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit bdb23a4

Please sign in to comment.