Fix unused setRegions in SetupWizard
This commit is contained in:
parent
24c47f8dc6
commit
ec1f3a1b06
|
|
@ -277,7 +277,7 @@ interface RegionCalibratorProps {
|
|||
|
||||
function RegionCalibrator({ regions, onComplete }: RegionCalibratorProps) {
|
||||
const [activeRegion, setActiveRegion] = useState(0)
|
||||
const [regions_, setRegions] = useState<Record<string, any>>({})
|
||||
const [_regions_, _setRegions] = useState<Record<string, any>>({})
|
||||
const canvasRef = useRef<HTMLCanvasElement>(null)
|
||||
|
||||
const captureScreen = async () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue