slider icon indicating copy to clipboard operation
slider copied to clipboard

Slider example broken

Open guillemglez opened this issue 4 years ago • 1 comments

Tried with 5 different browsers (incl. Firefox, Edge, Chrome) and https://react-component.github.io/slider/examples/slider.html does not render.

Console log:

Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem. 

Warning: Slider[max] - Slider[min] (99) should be a multiple of Slider[step] (10) warning.js:34
The above error occurred in the <ForwardRef(Tooltip)> component:
    in ForwardRef(Tooltip) (created by ComponentEnhancer(undefined))
    in div (created by ComponentEnhancer(undefined))
    in ComponentEnhancer(undefined) (created by ComponentWrapper)
    in ComponentWrapper
    in div
    in div

Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem. 

guillemglez avatar Mar 05 '20 10:03 guillemglez

Same problem

antonio-goncalves avatar Dec 01 '22 17:12 antonio-goncalves