From 6ed47a774186504e5075a871029df7eb68b9d75a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Castillo?= Date: Fri, 3 Oct 2025 09:49:59 -0300 Subject: [PATCH] fix: adjust dependencies on virtual badge validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Castillo --- src/routes/WithAuthzRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/WithAuthzRoute.js b/src/routes/WithAuthzRoute.js index c7b4a491..89e14fa5 100644 --- a/src/routes/WithAuthzRoute.js +++ b/src/routes/WithAuthzRoute.js @@ -45,7 +45,7 @@ const WithAuthzRoute = ({ // we store this calculation to use it later const hasVirtualBadge = useMemo(() => userProfile ? userHasAccessLevel(userProfile.summit_tickets, VIRTUAL_ACCESS_LEVEL) : false, - [userProfile.summit_tickets]); + [userProfile]); const userIsReady = () => { // we have an user profile