Skip to content

There is a bug with two or more links with same texts #145

@jt3k

Description

@jt3k

if (!footnotes.has(footnote.idRef)) {
footnotes.set(footnote.idRef, footnote)
}

↑why don't we use description as a idRef in our Map ?

here i tried to recreate the problem i had↓
https://codesandbox.io/s/react-a11y-footnotes-forked-23d672?file=/src/App.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions