Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored and github-actions[bot] committed Jan 6, 2024
1 parent c36d8ce commit 2c316f6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ private func isPrime(_ p: Int) -> Bool {
return true
}


@Reducer
struct Stats {
struct State: Equatable {
Expand Down Expand Up @@ -246,8 +245,8 @@ struct Stats {
state.alert = AlertState {
TextState(
isPrime(state.count)
? "👍 The number \(state.count) is prime!"
: "👎 The number \(state.count) is not prime :("
? "👍 The number \(state.count) is prime!"
: "👎 The number \(state.count) is not prime :("
)
}
return .none
Expand Down

0 comments on commit 2c316f6

Please sign in to comment.