From a761bb112dcc40b412d1fe135b69287851433986 Mon Sep 17 00:00:00 2001 From: pranalidhanavade Date: Fri, 6 Dec 2024 11:46:29 +0530 Subject: [PATCH] chore: astro upgarde Signed-off-by: pranalidhanavade --- src/components/User/UserDashBoard.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/User/UserDashBoard.tsx b/src/components/User/UserDashBoard.tsx index ee3b53c9..e947540f 100644 --- a/src/components/User/UserDashBoard.tsx +++ b/src/components/User/UserDashBoard.tsx @@ -267,6 +267,7 @@ const UserDashBoard = () => { const fetchOrganizationDetails = async () => { setWalletLoading(true); let orgId = await getFromLocalStorage(storageKeys.ORG_ID); + if (!orgId && organizationsList) { orgId = organizationsList[0].id; }