mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-15 16:07:55 +00:00
Rename
This commit is contained in:
@@ -567,6 +567,7 @@ const AddEmailDialog = (props) => {
|
||||
const handleSubmit = async () => {
|
||||
try {
|
||||
setSending(true);
|
||||
setError(""); // Clear any error from a previous attempt
|
||||
await accountApi.startEmailVerification(email);
|
||||
await accountApi.sync(); // Refresh so the new "(unverified)" address shows up immediately
|
||||
setSent(true);
|
||||
|
||||
Reference in New Issue
Block a user