Skip to content

Commit 4c4771a

Browse files
committed
Refer to injected sessionManager instead of ServiceLocator
1 parent dd32b83 commit 4c4771a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Yosemite/AuthenticatedState.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class AuthenticatedState: StoresManagerState {
9191
ServiceLocator.featureFlagService.isFeatureFlagEnabled(.ciab)
9292
},
9393
currentSite: {
94-
ServiceLocator.stores.sessionManager.defaultSite
94+
sessionManager.defaultSite
9595
}
9696
),
9797
OrderNoteStore(dispatcher: dispatcher, storageManager: storageManager, network: network),

0 commit comments

Comments
 (0)