From 7ad2ed7a94fac3c632af1c20bf00f4619f899096 Mon Sep 17 00:00:00 2001 From: Ramesh Date: Tue, 13 Jan 2026 10:52:25 +0545 Subject: [PATCH] fix(user): display loading until invitation response in invitation accept page --- packages/user/src/views/AcceptInvitation.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/user/src/views/AcceptInvitation.tsx b/packages/user/src/views/AcceptInvitation.tsx index 7493fe897..0dee26c60 100644 --- a/packages/user/src/views/AcceptInvitation.tsx +++ b/packages/user/src/views/AcceptInvitation.tsx @@ -30,6 +30,8 @@ export const AcceptInvitation = ({ useEffect(() => { if (token) { + setLoading(true); + getInvitationByToken(token, config.apiBaseUrl) .then((response) => { if ("data" in response && response.data.status === "ERROR") {