mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
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:
parent
f1324ae0e4
commit
68d1c8f018
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue