mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 03:04:47 +12:00
fix(website): Overload switcher duplicates reference links (#9614)
fix(website): add idx to link key
This commit is contained in:
parent
1cab79f6fd
commit
1716202f44
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export function ExcerptText({ model, excerpt }: ExcerptTextProps) {
|
|||
<ItemLink
|
||||
className="text-blurple"
|
||||
itemURI={resolveItemURI(item)}
|
||||
key={`${item.displayName}-${item.containerKey}`}
|
||||
key={`${item.displayName}-${item.containerKey}-${idx}`}
|
||||
packageName={item.getAssociatedPackage()?.displayName.replace('@discordjs/', '')}
|
||||
>
|
||||
{token.text}
|
||||
|
|
Loading…
Reference in a new issue