Change quotes with scape characters

This commit is contained in:
troneras 2024-08-21 02:20:12 +02:00
parent ff5b39241a
commit 81c83d4902
3 changed files with 6 additions and 7 deletions

View file

@ -91,7 +91,7 @@ export function ActionForm({
<FormDescription> <FormDescription>
<p> <p>
This action will automatically create the subscriber on This action will automatically create the subscriber on
listmonk if he doesn't exist already. listmonk if he doesn&apos;t exist already.
</p> </p>
Subscribers will be automatically added or removed to lists Subscribers will be automatically added or removed to lists
with the same name as the newsletters on Ghost. with the same name as the newsletters on Ghost.

View file

@ -76,13 +76,12 @@ export function SonDetailsForm({ form }: SonDetailsFormProps) {
<FormItem> <FormItem>
<FormLabel>Delay</FormLabel> <FormLabel>Delay</FormLabel>
<FormControl> <FormControl>
<Input <Input {...field} placeholder="e.g., 30m, 2h, 1d, 1w" />
{...field}
placeholder="e.g., 30m, 2h, 1d, 1w"
/>
</FormControl> </FormControl>
<FormDescription> <FormDescription>
Set a delay before the Son executes its actions. Use format like "30m" for 30 minutes, "2h" for 2 hours, "1d" for 1 day, or "1w" for 1 week. Set a delay before the Son executes its actions. Use format like
&quot;30m&quot; for 30 minutes, &quot;2h&quot; for 2 hours,
&quot;1d&quot; for 1 day, or &quot;1w&quot; for 1 week.
</FormDescription> </FormDescription>
<FormMessage /> <FormMessage />
</FormItem> </FormItem>

View file

@ -57,7 +57,7 @@ const SonDetailPage: NextPageWithExtras = () => {
defaultValues: { defaultValues: {
name: "", name: "",
trigger: "member_created", trigger: "member_created",
delay: 0, delay: "0",
actions: [], actions: [],
}, },
}); });