fix: merge issue

This commit is contained in:
David Nguyen
2026-08-25 21:08:00 +10:00
parent c7f78d0c60
commit 9469acdda4
@@ -6,7 +6,7 @@ import type { RefObject } from 'react';
* valid, by measuring the percentage of non-transparent pixels against
* SIGNATURE_MIN_COVERAGE_THRESHOLD.
*/
export const checkSignatureValidity = (element: RefObject<HTMLCanvasElement>) => {
export const checkSignatureValidity = (element: RefObject<HTMLCanvasElement | null>) => {
if (!element.current) {
return false;
}