We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b74a4b commit 7a8c99bCopy full SHA for 7a8c99b
1 file changed
packages/shared/src/features/opportunity/mutations.ts
@@ -5,7 +5,6 @@ import type {
5
ApiZodErrorExtension,
6
} from '../../graphql/common';
7
import { gqlClient, ApiError } from '../../graphql/common';
8
-import { labels } from '../../lib';
9
import {
10
ACCEPT_OPPORTUNITY_MATCH,
11
ADD_OPPORTUNITY_SEATS_MUTATION,
@@ -474,7 +473,9 @@ export const getParseOpportunityMutationErrorMessage = (
474
473
);
475
}
476
477
- return error?.response?.errors?.[0]?.message || labels.error.generic;
+ return (
+ error?.response?.errors?.[0]?.message || PARSE_OPPORTUNITY_ERROR_MESSAGE
478
+ );
479
};
480
481
export const parseOpportunityMutationOptions = () => {
0 commit comments