Skip to content

Commit

Permalink
Merge pull request #872 from digma-ai/fix/top-issues-pagination
Browse files Browse the repository at this point in the history
Fix Top Issues carousel
  • Loading branch information
kshmidt-digma committed May 28, 2024
2 parents 7eb08f0 + 5b4925c commit 5fc1fa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Highlights/TopIssues/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Fragment, useContext, useEffect, useState } from "react";
import { v4 as uuidv4 } from "uuid";
import { usePagination } from "../../../hooks/usePagination";
import { usePrevious } from "../../../hooks/usePrevious";
import { ConfigContext } from "../../common/App/ConfigContext";
Expand Down Expand Up @@ -132,7 +133,7 @@ export const TopIssues = () => {
}

return pageItems.map((x) => (
<Fragment key={x.insightType}>{renderHighlightCard(x)}</Fragment>
<Fragment key={`${uuidv4()}`}>{renderHighlightCard(x)}</Fragment>
));
};

Expand Down

0 comments on commit 5fc1fa6

Please sign in to comment.