forked from administration/panel
Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
ccd3e58d5d | |
|
a3f615e61f |
|
@ -277,7 +277,6 @@ export function UserActions({ user, bot }: { user: User; bot?: Bot }) {
|
||||||
<AlertDialogAction
|
<AlertDialogAction
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (!alertMessage.current) return;
|
if (!alertMessage.current) return;
|
||||||
alertMessage.current = "";
|
|
||||||
|
|
||||||
sendAlert(user._id, alertMessage.current)
|
sendAlert(user._id, alertMessage.current)
|
||||||
.then(() => toast({ title: "Sent Alert" }))
|
.then(() => toast({ title: "Sent Alert" }))
|
||||||
|
|
Loading…
Reference in New Issue