Skip to content

Commit f25b26d

Browse files
authored
fix typo (#3697)
1 parent 6574de2 commit f25b26d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ the store. The code is a bit longer than the SwiftUI version, so we have collaps
264264
guard let self
265265
else { return }
266266

267-
countLabel.text = "\(self.store.text)"
267+
countLabel.text = "\(self.store.count)"
268268
factLabel.text = self.store.numberFact
269269
}
270270
}

Sources/ComposableArchitecture/Documentation.docc/Articles/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class FeatureViewController: UIViewController {
205205
guard let self
206206
else { return }
207207

208-
countLabel.text = "\(self.store.text)"
208+
countLabel.text = "\(self.store.count)"
209209
factLabel.text = self.store.numberFact
210210
}
211211
}

Sources/ComposableArchitecture/Documentation.docc/Articles/ObservationBackport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct CounterView: View {
4747
This will make sure that the view subscribes to any fields accessed in the `@Perceptible` model so
4848
that changes to those fields invalidate the view and cause it to re-render.
4949

50-
If a field of a `@Percetible` model is accessed in a view while _not_ inside
50+
If a field of a `@Perceptible` model is accessed in a view while _not_ inside
5151
`WithPerceptionTracking`, then a runtime warning will be triggered:
5252

5353
> 🟣 Runtime Warning: Perceptible state was accessed but is not being tracked. Track changes to

0 commit comments

Comments
 (0)