fix:signature pad pen color issue

This commit is contained in:
RaktimaNXG
2024-03-26 10:12:07 +05:30
parent e78a3991f0
commit a94e67cd7c
+2 -1
View File
@@ -261,7 +261,8 @@ function SignPad({
: "2px solid white"
}}
onClick={() => {
props?.convertToImg(fontSelect, signValue, data);
props?.convertToImg &&
props?.convertToImg(fontSelect, signValue, data);
if (key === 0) {
setPenColor("blue");
} else if (key === 1) {