fix(web): stable breadcrumb keys without array index

This commit is contained in:
noelorin 2026-09-25 04:36:27 +08:00
parent 99fd2a58e7
commit 61fe323bf8
1 changed files with 1 additions and 1 deletions

View File

@ -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}