1
0
Fork 0

fix: allow sending multiline alerts

lea-dev
Lea 2023-09-21 17:47:52 +02:00 committed by insert
parent bc48204410
commit 0210d385aa
1 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ import { cn } from "@/lib/utils";
import { decodeTime } from "ulid";
import { Checkbox } from "@/components/ui/checkbox";
import UserSelector from "@/components/ui/user-selector";
import { Textarea } from "@/components/ui/textarea";
const badges = [1, 2, 4, 8, 16, 32, 128, 0, 256, 512, 1024];
@ -302,7 +303,7 @@ export function UserActions({ user, bot }: { user: User; bot?: Bot }) {
This will send a message from the Platform Moderation
account.
</span>
<Input
<Textarea
placeholder="Enter a message..."
name="message"
onChange={(e) =>