From 143c7fe0004c58a85b3d631533da2d79845c30cf Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 12 Feb 2022 20:24:11 -0300 Subject: [PATCH] guard against invalid signature. --- handlers/EventSigning.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/handlers/EventSigning.jsx b/handlers/EventSigning.jsx index e230704..9623d9d 100644 --- a/handlers/EventSigning.jsx +++ b/handlers/EventSigning.jsx @@ -55,7 +55,9 @@ export default function EventSigning({value}) { {getEventHash(evt)} {evt.sig ? ( - {isValidSignature.toString()} + + {isValidSignature?.toString() || ''} + ) : ( <>