fix: custom text with multiline throwing an error

took me hours
This commit is contained in:
Ephraim Atta-Duncan
2024-02-17 10:43:22 +00:00
parent 5687503dfc
commit ad6fad1182
2 changed files with 9 additions and 4 deletions

View File

@ -107,7 +107,7 @@ export const TextField = ({ field, recipient }: TextFieldProps) => {
toast({
title: 'Error',
description: 'An error occurred while removing the signature.',
description: 'An error occurred while removing the text.',
variant: 'destructive',
});
}
@ -134,7 +134,7 @@ export const TextField = ({ field, recipient }: TextFieldProps) => {
</DialogTitle>
<div className="">
<Label htmlFor="signature">Custom Text</Label>
<Label htmlFor="custom-text">Custom Text</Label>
<Textarea
id="custom-text"