1
0
Fork 0

fix: send correct content when sending alert

dufisgsd
Lea 2023-08-09 20:46:25 +02:00
parent 2cf61f26a0
commit 19465043a1
Signed by: lea
GPG Key ID: 1BAFFE8347019C42
1 changed files with 0 additions and 1 deletions

View File

@ -303,7 +303,6 @@ export function UserActions({ user, bot }: { user: User; bot?: Bot }) {
<AlertDialogAction
onClick={() => {
if (!alertMessage.current) return;
alertMessage.current = "";
sendAlert(user._id, alertMessage.current)
.then(() => toast({ title: "Sent Alert" }))