We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36d8ce commit 2c316f6Copy full SHA for 2c316f6
Examples/CaseStudies/SwiftUICaseStudies/01-GettingStarted-SharedState.swift
@@ -204,7 +204,6 @@ private func isPrime(_ p: Int) -> Bool {
204
return true
205
}
206
207
-
208
@Reducer
209
struct Stats {
210
struct State: Equatable {
@@ -246,8 +245,8 @@ struct Stats {
246
245
state.alert = AlertState {
247
TextState(
248
isPrime(state.count)
249
- ? "👍 The number \(state.count) is prime!"
250
- : "👎 The number \(state.count) is not prime :("
+ ? "👍 The number \(state.count) is prime!"
+ : "👎 The number \(state.count) is not prime :("
251
)
252
253
return .none
0 commit comments