Skip to content

Commit 2c316f6

Browse files
mbrandonwgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent c36d8ce commit 2c316f6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Examples/CaseStudies/SwiftUICaseStudies/01-GettingStarted-SharedState.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ private func isPrime(_ p: Int) -> Bool {
204204
return true
205205
}
206206

207-
208207
@Reducer
209208
struct Stats {
210209
struct State: Equatable {
@@ -246,8 +245,8 @@ struct Stats {
246245
state.alert = AlertState {
247246
TextState(
248247
isPrime(state.count)
249-
? "👍 The number \(state.count) is prime!"
250-
: "👎 The number \(state.count) is not prime :("
248+
? "👍 The number \(state.count) is prime!"
249+
: "👎 The number \(state.count) is not prime :("
251250
)
252251
}
253252
return .none

0 commit comments

Comments
 (0)