From 995b1fe63c2336b0efd80c790e8330e033d5d05a Mon Sep 17 00:00:00 2001 From: Marc Julien Bach Date: Sat, 16 May 2026 16:06:09 +0200 Subject: [PATCH 1/2] Fix points history to include circle members --- src/views/User/UserPoints.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/User/UserPoints.jsx b/src/views/User/UserPoints.jsx index 04cb6df..7ab2dee 100644 --- a/src/views/User/UserPoints.jsx +++ b/src/views/User/UserPoints.jsx @@ -62,7 +62,7 @@ const UserPoints = () => { data: choresHistoryData, isLoading: isChoresHistoryLoading, handleLimitChange: handleChoresHistoryLimitChange, - } = useChoresHistory(7) + } = useChoresHistory(7, true) const { data: userProfile } = useUserProfile() const [selectedUser, setSelectedUser] = useState(userProfile?.id) From 7524cc31c1321357415a00ec32248fd423cf906a Mon Sep 17 00:00:00 2001 From: Paccoco <99041736+Paccoco@users.noreply.github.com> Date: Sun, 24 May 2026 01:53:14 +0000 Subject: [PATCH 2/2] fix: reinitialize api client after server URL changes --- src/utils/ApiClient.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils/ApiClient.js b/src/utils/ApiClient.js index 1fa60af..3da4e0a 100644 --- a/src/utils/ApiClient.js +++ b/src/utils/ApiClient.js @@ -17,7 +17,7 @@ class ApiClient { } async init(force = false) { - if (this.initPromise) { + if (this.initPromise && !force) { return this.initPromise } @@ -25,7 +25,9 @@ class ApiClient { return Promise.resolve() } - this.initPromise = this._doInit() + this.initPromise = this._doInit().finally(() => { + this.initPromise = null + }) return this.initPromise }