fix(web): stable breadcrumb keys without array index
This commit is contained in:
parent
99fd2a58e7
commit
61fe323bf8
|
|
@ -110,7 +110,7 @@ function BrowseInner(props: { locale: Locale }) {
|
|||
{t(locale, "browse.root")}
|
||||
</button>
|
||||
{crumbs.map((c, i) => (
|
||||
<span key={`${c}-${i}`}>
|
||||
<span key={crumbs.slice(0, i + 1).join("/")}>
|
||||
{" / "}
|
||||
<button type="button" onClick={() => goToCrumb(i)}>
|
||||
{c}
|
||||
|
|
|
|||
Loading…
Reference in New Issue