Skip to content

Commit

Permalink
fix(contented-preview): with ContentNavigation non-unique react key (
Browse files Browse the repository at this point in the history
…#553)

#### What this PR does / why we need it:

As per title.
  • Loading branch information
fuxingloh authored Aug 8, 2023
1 parent c700fee commit 4160016
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ContentNavigation({ sections, className }) {
const isCurrentPath = linkPath === router.asPath || router.asPath + '/' === linkPath;

return (
<li key={linkPath} className="relative">
<li key={link.fileId} className="relative">
<Link
href={linkPath}
className={clsx({
Expand Down

0 comments on commit 4160016

Please sign in to comment.