This commit is contained in:
binwiederhier
2026-06-20 14:55:27 -04:00
parent 8a7b73cc7e
commit 36d7d3bd24
5 changed files with 12 additions and 11 deletions
+1
View File
@@ -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);