@@ -6,8 +6,8 @@ import BrowserNotifications from './BrowserNotifications';
66import type { LocalNotificationClickHandler , LocalNotificationModifiedExpenseParams , LocalNotificationModule } from './types' ;
77
88let allPolicies : OnyxCollection < Policy > ;
9- // This is a temporary subscription until the modified-expense notification chain is fully migrated
10- // see https://github.com/Expensify/App/issues/66336
9+ // We do not depend on updates on the UI for notifications, so we can use `connectWithoutView` here.
10+ // This is a temporary subscription until the modified-expense notification chain is fully migrated; see https://github.com/Expensify/App/issues/66336
1111Onyx . connectWithoutView ( {
1212 key : ONYXKEYS . COLLECTION . POLICY ,
1313 waitForCollectionCallback : true ,
@@ -17,8 +17,8 @@ Onyx.connectWithoutView({
1717} ) ;
1818
1919let allPolicyTags : OnyxCollection < PolicyTagLists > ;
20- // This is a temporary subscription until the modified-expense notification chain is fully migrated
21- // see https://github.com/Expensify/App/issues/66336
20+ // We do not depend on updates on the UI for notifications, so we can use `connectWithoutView` here.
21+ // This is a temporary subscription until the modified-expense notification chain is fully migrated; see https://github.com/Expensify/App/issues/66336
2222Onyx . connectWithoutView ( {
2323 key : ONYXKEYS . COLLECTION . POLICY_TAGS ,
2424 waitForCollectionCallback : true ,
0 commit comments