diff --git a/src/libs/actions/Policy/Member.ts b/src/libs/actions/Policy/Member.ts index 00d282ceb4fa..096ea09408b5 100644 --- a/src/libs/actions/Policy/Member.ts +++ b/src/libs/actions/Policy/Member.ts @@ -72,7 +72,8 @@ Onyx.connect({ }); let policyOwnershipChecks: Record; -Onyx.connect({ +/** We use `connectWithoutView` here since this connection only stores non-reactive data that is needed across different pages */ +Onyx.connectWithoutView({ key: ONYXKEYS.POLICY_OWNERSHIP_CHANGE_CHECKS, callback: (value) => { policyOwnershipChecks = value ?? {};