Need id as dependency too

- inner functions are not reading the updated id
- probably need to rewrite this as this code looks prone to errors
This commit is contained in:
Lim Chee Aun 2023-10-15 10:50:33 +08:00
parent e1ae89b00e
commit c80c8b3294

View file

@ -307,7 +307,7 @@ function AccountInfo({
}
}
},
[standalone],
[standalone, id],
);
return (