mirror of
https://github.com/documenso/documenso.git
synced 2026-08-26 00:02:43 +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
|
* valid, by measuring the percentage of non-transparent pixels against
|
||||||
* SIGNATURE_MIN_COVERAGE_THRESHOLD.
|
* SIGNATURE_MIN_COVERAGE_THRESHOLD.
|
||||||
*/
|
*/
|
||||||
export const checkSignatureValidity = (element: RefObject<HTMLCanvasElement>) => {
|
export const checkSignatureValidity = (element: RefObject<HTMLCanvasElement | null>) => {
|
||||||
if (!element.current) {
|
if (!element.current) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user