Closed rizkizidane917 closed 1 year ago
Hello, I got an error when I try to call the library. The error is window is not defined
Here the import import { Wheel } from "react-custom-roulette";
import { Wheel } from "react-custom-roulette";
and here the code
<Wheel mustStartSpinning={mustSpin} prizeNumber={prizeNumber} data={data} onStopSpinning={() => { setMustSpin(false); }} />
Hello, I got an error when I try to call the library. The error is window is not defined
Here the import
import { Wheel } from "react-custom-roulette";
and here the code
<Wheel mustStartSpinning={mustSpin} prizeNumber={prizeNumber} data={data} onStopSpinning={() => { setMustSpin(false); }} />