feat: migrate to react 19

This commit is contained in:
Lucas Smith
2026-07-21 15:35:50 +10:00
parent 40472bc26c
commit 11970a3659
17 changed files with 806 additions and 1426 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;
}