gitplay icon indicating copy to clipboard operation
gitplay copied to clipboard

JS Error on hover at beginning of timeline

Open miteshashar opened this issue 2 years ago • 0 comments

Following error is thrown when mouse hovers at the beginning point of the timeline:

[Error] Unhandled Promise Rejection: invalid args `startIndex` for command `get_commits`: invalid value: integer `-100`, expected usize

TL;DR

handleTimelineEnter is called for onMouseOver on the timeline bar. handleTimelineEnter calls loadCommits which in turn invokes a RPC call to get_commits

miteshashar avatar Nov 10 '23 16:11 miteshashar