Skip to content

Commit d12b956

Browse files
committed
copilot suggestions added
1 parent c46761f commit d12b956

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

ui/src/components/ContentMapper/index.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,8 +2115,7 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
21152115
position: 'bottom-center',
21162116
hideProgressBar: true
21172117
},
2118-
type: 'success',
2119-
autoClose: 2
2118+
type: 'success'
21202119
});
21212120

21222121
try {
@@ -2370,7 +2369,6 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
23702369
console.error(err);
23712370
return err;
23722371
}
2373-
23742372
}
23752373
} catch (error) {
23762374
console.error(error);
@@ -2384,13 +2382,10 @@ const ContentMapper = forwardRef(({ handleStepChange }: contentMapperProps, ref:
23842382
...newMigrationData?.content_mapping,
23852383
[isContentType ? 'existingCT' : 'existingGlobal']: contentTypes,
23862384
content_type_mapping: updatedContentTypeMapping
2387-
23882385
}
2389-
23902386
}
23912387
dispatch(updateNewMigrationData(newMigrationDataObj));
2392-
2393-
}
2388+
};
23942389

23952390
const columns = [
23962391
{

0 commit comments

Comments
 (0)