Skip to content

Commit

Permalink
Remove accidental usage of if-expressions (GitHub Actions aren't usin…
Browse files Browse the repository at this point in the history
…g Swift 5.9)
  • Loading branch information
stackotter committed Oct 13, 2023
1 parent b687f4d commit 2f09b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftCrossUI/Builders/TableBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public struct TableBuilder<Row> {

public static func buildOptional(_ component: TableColumn<Row>?) -> [TableColumn<Row>] {
if let component = component {
[component]
return [component]
} else {
[]
return []
}
}

Expand Down

0 comments on commit 2f09b62

Please sign in to comment.