Skip to content

Commit 95bc32a

Browse files
committed
Remove unnecessary code based on CR feedback.
1 parent 131313f commit 95bc32a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Stats v4/StoreStatsDataOrRedactedView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private extension StoreStatsDataOrRedactedView {
9595
}
9696
}
9797

98-
#if canImport(SwiftUI) && DEBUG
98+
#if DEBUG
9999

100100
import SwiftUI
101101

WooCommerce/Classes/ViewRelated/Dashboard/Stats v4/StoreStatsV4PeriodViewController.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,6 @@ private extension StoreStatsV4PeriodViewController {
588588
}
589589

590590
func reloadSiteVisitUI() {
591-
guard visitorsDataOrRedactedView != nil else {
592-
return
593-
}
594-
595591
switch siteVisitStatsMode {
596592
case .hidden:
597593
visitorsDataOrRedactedView.state = .redacted

0 commit comments

Comments
 (0)