mirror of
https://github.com/documenso/documenso.git
synced 2026-08-26 08:12:27 +10:00
fix: merge issue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user