Uncaught (in promise) TypeError: e.findIndex is not a function
ys chart.ratingHistory.76BBILZ5.js:formatted:4985
b common.PO2XX66P.js:1
async bullet:7
promise callback bullet:7
chart.ratingHistory.76BBILZ5.js:formatted:4985:8
Operating system
Windows 11
Browser and version (or alternate access method)
Firefox 130
Additional information
It seems that the array is being wrapped in a string instead of as a plain array
Exact URL of where the bug happened
https://lichess.org/@/thibault/perf/bullet
Steps to reproduce the bug
Open the link
What did you expect to happen?
Rating history for one perf
What happened instead?
Console error:
Uncaught (in promise) TypeError: e.findIndex is not a function ys chart.ratingHistory.76BBILZ5.js:formatted:4985 b common.PO2XX66P.js:1 async bullet:7 promise callback bullet:7 chart.ratingHistory.76BBILZ5.js:formatted:4985:8
Operating system
Windows 11
Browser and version (or alternate access method)
Firefox 130
Additional information
It seems that the array is being wrapped in a string instead of as a plain array