From 9316870810c6e3559e298e2d8d89f7d769fb441d Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Mon, 22 Dec 2025 21:20:48 +0530 Subject: [PATCH] Switched to connectWithoutView for report connection inside isChannelMuted --- src/libs/actions/User.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/actions/User.ts b/src/libs/actions/User.ts index 39e7487c72a2..f80d6b0b64b1 100644 --- a/src/libs/actions/User.ts +++ b/src/libs/actions/User.ts @@ -662,7 +662,8 @@ function isBlockedFromConcierge(blockedFromConciergeNVP: OnyxEntry new Promise((resolve) => { - const connection = Onyx.connect({ + // We use `connectWithoutView` here since this connection is non-reactive in nature. + const connection = Onyx.connectWithoutView({ key: `${ONYXKEYS.COLLECTION.REPORT}${reportId}`, callback: (report) => { Onyx.disconnect(connection);