From bd797d6f065fa000b63e4544876df63ce11d0f0f Mon Sep 17 00:00:00 2001 From: bigint <69431456+bigint@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:31:46 +0530 Subject: [PATCH] fix: block toast message (#4170) --- apps/web/src/components/Shared/Alert/BlockOrUnBlockProfile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/Shared/Alert/BlockOrUnBlockProfile.tsx b/apps/web/src/components/Shared/Alert/BlockOrUnBlockProfile.tsx index bc07b2649d18..797a55fec80c 100644 --- a/apps/web/src/components/Shared/Alert/BlockOrUnBlockProfile.tsx +++ b/apps/web/src/components/Shared/Alert/BlockOrUnBlockProfile.tsx @@ -78,7 +78,7 @@ const BlockOrUnBlockProfile: FC = () => { setHasBlocked(!hasBlocked); setShowBlockOrUnblockAlert(false, null); toast.success( - hasBlocked ? 'Blocked successfully!' : 'Unblocked successfully!' + hasBlocked ? 'Unblocked successfully!' : 'Blocked successfully!' ); Leafwatch.track(hasBlocked ? PROFILE.BLOCK : PROFILE.UNBLOCK, { profile_id: blockingorUnblockingProfile?.id