message: chore: fix build error
diff: @@ -433,16 +433,16 @@ export function useSlider(props: UseSliderProps) {
  run(event)
  - doc.addEventListener("mousemove", run)
  + doc?.addEventListener("mousemove", run)
  const clean = () => {
  - doc.removeEventListener("mousemove", run)
  + doc?.removeEventListener("mousemove", run)
  setDragging.off()
  }
  - doc.addEventListener("mouseup", clean)
  + doc?.addEventListener("mouseup", clean)
  cleanUpRef.current.mouseup = () => {
  - doc.removeEventListener("mouseup", clean)
  + doc?.removeEventListener("mouseup", clean)
  }
  })
  @@ -469,22 +469,22 @@ export function useSlider(props: UseSliderProps) {
  run(event)
  - doc.addEventListener("touchmove", run)
  + doc?.addEventListener("touchmove", run)
  const clean = () => {
  - doc.removeEventListener("touchmove", run)
  + doc?.removeEventListener("touchmove", run)
  setDragging.off()
  }
  - doc.addEventListener("touchend", clean)
  - doc.addEventListener("touchcancel", clean)
  + doc?.addEventListener("touchend", clean)
  + doc?.addEventListener("touchcancel", clean)
  cleanUpRef.current.touchend = () => {
  - doc.removeEventListener("touchend", clean)
  + doc?.removeEventListener("touchend", clean)
  }
  cleanUpRef.current.touchcancel = () => {
  - doc.removeEventListener("touchcancel", clean)
  + doc?.removeEventListener("touchcancel", clean)
  }
  })
  