mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 06:08:48 +00:00
Fix: unique element key generation in quicklaunch and services (#2586)
This commit is contained in:
parent
1c47d9d70e
commit
50c989e36a
2 changed files with 2 additions and 2 deletions
|
@ -199,7 +199,7 @@ export default function QuickLaunch({
|
|||
{results.length > 0 && (
|
||||
<ul className="max-h-[60vh] overflow-y-auto m-2">
|
||||
{results.map((r, i) => (
|
||||
<li key={r.container ?? r.app ?? `${r.name}-${r.href}`}>
|
||||
<li key={[r.name, r.container, r.app, r.href].filter((s) => s).join("-")}>
|
||||
<button
|
||||
type="button"
|
||||
data-index={i}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue