diff --git a/frontend/src/app/[locale]/search/error.tsx b/frontend/src/app/[locale]/search/error.tsx index 211fffb42..55e1fd739 100644 --- a/frontend/src/app/[locale]/search/error.tsx +++ b/frontend/src/app/[locale]/search/error.tsx @@ -3,7 +3,7 @@ import QueryProvider from "src/app/[locale]/search/QueryProvider"; import { usePrevious } from "src/hooks/usePrevious"; import { FrontendErrorDetails } from "src/types/apiResponseTypes"; -import { ServerSideSearchParams } from "src/types/searchRequestURLTypes"; +import { OptionalStringDict } from "src/types/searchRequestURLTypes"; import { Breakpoints, ErrorProps } from "src/types/uiTypes"; import { convertSearchParamsToProperTypes } from "src/utils/search/convertSearchParamsToProperTypes"; @@ -19,7 +19,7 @@ import ServerErrorAlert from "src/components/ServerErrorAlert"; export interface ParsedError { message: string; - searchInputs: ServerSideSearchParams; + searchInputs: OptionalStringDict; status: number; type: string; details?: FrontendErrorDetails; diff --git a/frontend/src/services/fetch/fetchers/fetchers.ts b/frontend/src/services/fetch/fetchers/fetchers.ts index 0fd74f15f..0ef3270da 100644 --- a/frontend/src/services/fetch/fetchers/fetchers.ts +++ b/frontend/src/services/fetch/fetchers/fetchers.ts @@ -101,4 +101,4 @@ export const fetchOpportunitySearch = requesterForEndpoint( export const postUserLogout = requesterForEndpoint(userLogoutEndpoint); export const userSavedOpportunity = (type: "GET" | "POST" | "DELETE") => - requesterForEndpoint(userSavedOpportunityEndpoint(type)); \ No newline at end of file + requesterForEndpoint(userSavedOpportunityEndpoint(type));