Skip to content

Commit ce918b8

Browse files
committed
empty group hotfix
1 parent e2a937e commit ce918b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftHtml/Components/TagBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public enum TagBuilder {
1313
}
1414

1515
public static func buildBlock(_ components: [Tag]...) -> Tag {
16-
Tag(.init(type: .empty), children: components.flatMap { $0 })
16+
Tag(.init(type: .group), children: components.flatMap { $0 })
1717
}
1818

1919
public static func buildExpression(_ expression: Tag) -> [Tag] {

0 commit comments

Comments
 (0)