fix: lint project (#2693)

This commit is contained in:
David Nguyen
2026-05-08 16:04:22 +10:00
committed by GitHub
parent edbf65969b
commit 8671f269e8
1414 changed files with 12867 additions and 24335 deletions
@@ -1,14 +1,12 @@
import { useState } from 'react';
import { Trans, useLingui } from '@lingui/react/macro';
import { RecipientRole } from '@prisma/client';
import { match } from 'ts-pattern';
import { authClient } from '@documenso/auth/client';
import { Alert, AlertDescription } from '@documenso/ui/primitives/alert';
import { Button } from '@documenso/ui/primitives/button';
import { DialogFooter } from '@documenso/ui/primitives/dialog';
import { useToast } from '@documenso/ui/primitives/use-toast';
import { Trans, useLingui } from '@lingui/react/macro';
import { RecipientRole } from '@prisma/client';
import { useState } from 'react';
import { match } from 'ts-pattern';
import { useRequiredDocumentSigningAuthContext } from './document-signing-auth-provider';
@@ -61,8 +59,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To sign this field, you need to be logged in.</Trans>
) : (
<Trans>
To sign this field, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To sign this field, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -71,8 +68,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To sign this document, you need to be logged in.</Trans>
) : (
<Trans>
To sign this document, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To sign this document, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -81,8 +77,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To approve this field, you need to be logged in.</Trans>
) : (
<Trans>
To approve this field, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To approve this field, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -91,8 +86,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To approve this document, you need to be logged in.</Trans>
) : (
<Trans>
To approve this document, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To approve this document, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -101,8 +95,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To view this field, you need to be logged in.</Trans>
) : (
<Trans>
To view this field, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To view this field, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -111,8 +104,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To mark this document as viewed, you need to be logged in.</Trans>
) : (
<Trans>
To mark this document as viewed, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To mark this document as viewed, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -121,8 +113,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To view this field, you need to be logged in.</Trans>
) : (
<Trans>
To view this field, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To view this field, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -131,8 +122,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To view this document, you need to be logged in.</Trans>
) : (
<Trans>
To view this document, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To view this document, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -141,8 +131,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To assist with this field, you need to be logged in.</Trans>
) : (
<Trans>
To assist with this field, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To assist with this field, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)
@@ -151,8 +140,7 @@ export const DocumentSigningAuthAccount = ({
<Trans>To assist with this document, you need to be logged in.</Trans>
) : (
<Trans>
To assist with this document, you need to be logged in as{' '}
<strong>{recipient.email}</strong>
To assist with this document, you need to be logged in as <strong>{recipient.email}</strong>
</Trans>
),
)