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
135 stars 39 forks source link

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

Open omerfarukaslan opened 4 months ago

omerfarukaslan commented 4 months 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