Skip to content

Commit 5cac004

Browse files
committed
Added refresh page message for Legacy CMS undefined step error
1 parent dd1af64 commit 5cac004

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/pages/Migration/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ const Migration = () => {
403403
}
404404
if (currentIndex !== 3) {
405405
Notification({
406-
notificationContent: { text: `Please complete ${result} step` },
406+
notificationContent: { text: result === undefined ? `Something went wrong. Please refresh the page.` : `Please complete ${result} step` },
407407
type: 'warning'
408408
});
409409
}

ui/src/pages/Projects/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const Projects = () => {
170170
{loadStatus ? (
171171
<div className="flex-wrap">
172172
{[...Array(20)].map((e, i) => (
173-
<StackCardSkeleton key={i} />
173+
<StackCardSkeleton key={`${i?.toString()}`} />
174174
))}
175175
</div>
176176
) : (

0 commit comments

Comments
 (0)