Skip to content

Commit da753ef

Browse files
committed
fix:resolved copilot comments
1 parent b78830b commit da753ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/src/services/contentMapper.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ const getFieldMapping = async (req: Request) => {
277277
logger.error(
278278
getLogMessage(
279279
srcFunc,
280-
"Error occurred while while getting field mapping of projects",
280+
"Error occurred while getting field mapping of projects",
281281
error
282282
)
283283
);

ui/src/components/DestinationStack/Actions/LoadLanguageMapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const Mapper = ({
237237
const locale = updatedOptions[index]?.label
238238
setselectedSourceOption((prevSelected) => {
239239
const newSelectedOptions: string[] = prevSelected?.filter(
240-
(item) => item !== locale // Remove the item equal to csLocale
240+
(item) => item !== locale // Remove the item equal to locale
241241
);
242242
return newSelectedOptions;
243243
});

0 commit comments

Comments
 (0)