Skip to content

Commit

Permalink
Update error.tsx to fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed Feb 6, 2025
1 parent b46aecc commit fd15fcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/[locale]/search/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/services/fetch/fetchers/fetchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ export const fetchOpportunitySearch = requesterForEndpoint(
export const postUserLogout = requesterForEndpoint(userLogoutEndpoint);

export const userSavedOpportunity = (type: "GET" | "POST" | "DELETE") =>
requesterForEndpoint(userSavedOpportunityEndpoint(type));
requesterForEndpoint(userSavedOpportunityEndpoint(type));

0 comments on commit fd15fcd

Please sign in to comment.