Skip to content

Commit

Permalink
refactor: key in breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Dec 15, 2023
1 parent 4bfebf9 commit 9b0668f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/genericUtils/BreadCrumbNavigation.res
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ let make = (
},
})
}
<UIUtils.RenderIf condition=showCrumb>
<div
key={Belt.Int.toString(index)}
className={`flex ${flexDirection} ${childGapClass} items-center`}>
<UIUtils.RenderIf key={Belt.Int.toString(index)} condition=showCrumb>
<div className={`flex ${flexDirection} ${childGapClass} items-center`}>
{if collapse {
<div
className="flex flex-row gap-1 text-jp-2-gray-100 font-medium items-center justify-center">
Expand Down

0 comments on commit 9b0668f

Please sign in to comment.