Minor cleanup.
This commit is contained in:
@@ -49,7 +49,7 @@ export function EmailOverlayContainer({
|
||||
const handleOk = async () => {
|
||||
setSending(true);
|
||||
try {
|
||||
const emailResponse = await axios.post("/sendemail", messageOptions);
|
||||
await axios.post("/sendemail", messageOptions);
|
||||
notification["success"]({ message: t("emails.successes.sent") });
|
||||
toggleEmailOverlayVisible();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user