From c80c8b32948fd25bc2c54972000847bcb93047d5 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 15 Oct 2023 10:50:33 +0800 Subject: [PATCH] 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 --- src/components/account-info.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index 74d92a2e..27e53d43 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -307,7 +307,7 @@ function AccountInfo({ } } }, - [standalone], + [standalone, id], ); return (