Aeolun / react-diff-viewer-continued

A simple and beautiful text diff viewer component made with Diff and React.
https://aeolun.github.io/react-diff-viewer-continued/
MIT License
113 stars 34 forks source link

`undefined` line prefix when onLineNumberClick called on inline view added line #50

Open omerfarukaslan opened 1 month ago

omerfarukaslan commented 1 month ago

When user clicks an added line on the inline view, the onLineNumberClick fn returns an undefined prefix for the clicked line. Line number appears to be accurate. i.e: undefined-5 instead of R-5