feat: migrate to react 19 (#3107)

This commit is contained in:
Lucas Smith
2026-08-17 16:58:11 +10:00
committed by GitHub
parent 283c6d274b
commit 779de01fe8
22 changed files with 1532 additions and 2395 deletions
@@ -13,7 +13,7 @@ import { getSvgPathFromStroke } from './helper';
import { Point } from './point';
import { SignaturePadColorPicker } from './signature-pad-color-picker';
const checkSignatureValidity = (element: RefObject<HTMLCanvasElement>) => {
const checkSignatureValidity = (element: RefObject<HTMLCanvasElement | null>) => {
if (!element.current) {
return false;
}