fix: minor updates

This commit is contained in:
Mythie
2023-08-31 14:06:19 +10:00
parent e243ba2564
commit 63b21a8206
13 changed files with 24 additions and 1403 deletions

View File

@ -139,9 +139,10 @@ export const SignatureField = ({ field, recipient }: SignatureFieldProps) => {
/>
)}
{state === 'signed-text' && signature?.typedSignature && (
{state === 'signed-text' && (
<p className="font-signature text-muted-foreground text-lg duration-200 sm:text-xl md:text-2xl lg:text-3xl">
{signature.typedSignature}
{/* This optional chaining is intentional, we don't want to move the check into the condition above */}
{signature?.typedSignature}
</p>
)}