From 2693c1b7c733936b9c54f6e408a67c543ce6650f Mon Sep 17 00:00:00 2001 From: Vijay Date: Tue, 5 Mar 2024 23:31:57 +0530 Subject: [PATCH] fix: lint --- src/App/UserProfile/sagas.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/UserProfile/sagas.ts b/src/App/UserProfile/sagas.ts index cada552..945fe75 100644 --- a/src/App/UserProfile/sagas.ts +++ b/src/App/UserProfile/sagas.ts @@ -58,14 +58,14 @@ function* fetchUserProfile(action: PayloadAction) { api.participants.read, )) as MakeResponse; - if (assignableParticipantsResponse.status == 200) { + if (assignableParticipantsResponse.status === 200) { // throw new Error(JSON.stringify(assignableParticipantsResponse)); userProfile.assignableParticipants = assignableParticipantsResponse.data.participants; - + const assignedParticipantsResponse = (yield call(api.userParticipants.read, { id: action.payload, })) as MakeResponse; - + if (assignedParticipantsResponse.status !== 200) { throw new Error(JSON.stringify(assignedParticipantsResponse)); }