react-timeline-range-slider
react-timeline-range-slider copied to clipboard
TypeError: n is not a function
I keep getting a TypeError: n is not a function for some reason and I can't figure out why.
Same here. Started happening lately.
This happens when
selectedInterval={selectedInterval}
timelineInterval={[startTime, endTime]}
one of these props have invalid data.
problem is onUpdateCallback has to be passed, it's not optional with the current API.
onUpdateCallback={() => null} this would fix the problem but I believe there should be a typescript version of this library to fix this kind of issues