Fix the var that is causing platforms to not send correctly & fix

check user info everytime after you file for a change.
This commit is contained in:
yuanhau 2025-06-14 21:56:50 +08:00
parent f1324ae0e4
commit 68d1c8f018
2 changed files with 4 additions and 2 deletions

View file

@ -141,7 +141,9 @@ const submitChangeAction = async (action: string) => {
const response = await req.json();
if (response.error) {
console.error("Error updating user data:", response.error);
return;
}
await validateUserInfo();
} catch (error) {
console.error("Failed to submit change:", error);
}