diff --git a/webapp/app/_components/third-party-services/third-party-services.tsx b/webapp/app/_components/third-party-services/third-party-services.tsx index f9b59dc1..f37add7f 100644 --- a/webapp/app/_components/third-party-services/third-party-services.tsx +++ b/webapp/app/_components/third-party-services/third-party-services.tsx @@ -1,5 +1,5 @@ import SavedKeys from "@/app/_components/third-party-services/saved-keys"; -import { getErrorMessage } from "@/utils/error"; +import { getErrorMessage } from "@/utils/errors"; import { GetServiceKeysResponse } from "@/types/service-keys"; import { getProtocolAndHost, diff --git a/webapp/app/_stores/useGlobalStore.ts b/webapp/app/_stores/useGlobalStore.ts index 9d738ada..426174fe 100644 --- a/webapp/app/_stores/useGlobalStore.ts +++ b/webapp/app/_stores/useGlobalStore.ts @@ -1,7 +1,7 @@ import { create } from "zustand"; import { JobDescription } from "@/types/job-descriptions"; import { ResumeProcessorResponse } from "@/types/resume-processor"; -import { getErrorMessage } from "@/utils/error"; +import { getErrorMessage } from "@/utils/errors"; type GlobalStoreState = { file: File | null; diff --git a/webapp/app/_utils/error.ts b/webapp/app/_utils/errors.ts similarity index 97% rename from webapp/app/_utils/error.ts rename to webapp/app/_utils/errors.ts index b6a7c630..e02dca58 100644 --- a/webapp/app/_utils/error.ts +++ b/webapp/app/_utils/errors.ts @@ -1,4 +1,3 @@ -"use client"; export interface FastAPIError { detail: string; }