From 118ccf1d7f2441876d91ba6322bd4d70f3565c2c Mon Sep 17 00:00:00 2001 From: vinceh121 Date: Sat, 9 Aug 2025 01:35:40 +0200 Subject: [PATCH] fix: prevent render loop --- src/utils/Auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Auth.js b/src/utils/Auth.js index dd2ea5eb..4f98540d 100644 --- a/src/utils/Auth.js +++ b/src/utils/Auth.js @@ -32,7 +32,7 @@ const getUsers = () => { } // Otherwise, return the users array, if available - const users = auth.users || []; + const users = auth.users ? [...auth.users] : []; if (isOidcEnabled()) { if (localStorage[localStorageKeys.USERNAME]) { const user = {