Fix constantly growing \200b backslash escaping (#4978)

This commit is contained in:
Kamil Kisiela 2024-06-14 13:59:45 +02:00 committed by GitHub
parent c9a6db1944
commit 8a8abc6a21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -447,7 +447,7 @@ function CreateContractDialogContent(props: {
disabled={form.isSubmitting}
autoComplete="off"
/>
<span className="text-sm text-red-500 after:content-['\\\\200b']">
<span className="text-sm text-red-500 after:invisible after:content-['.']">
{mutation.data?.createContract.error?.details?.contractName ??
form.errors.contractName}
</span>
@ -538,7 +538,7 @@ function CreateContractDialogContent(props: {
</Command>
</PopoverContent>
</Popover>
<div className="mt-2 text-sm text-red-500 after:content-['\\\\200b']">
<div className="mt-2 text-sm text-red-500 after:invisible after:content-['.']">
{mutation.data?.createContract.error?.details?.includeTags ??
form.errors.includeTags}
</div>
@ -651,7 +651,7 @@ function CreateContractDialogContent(props: {
</Command>
</PopoverContent>
</Popover>
<div className="mt-2 text-sm text-red-500 after:content-['\\\\200b']">
<div className="mt-2 text-sm text-red-500 after:invisible after:content-['.']">
{mutation.data?.createContract.error?.details?.excludeTags ??
form.errors.excludeTags}
</div>