diff --git a/web/svg/src/jsMain/kotlin/org/jetbrains/compose/web/svg/svg.kt b/web/svg/src/jsMain/kotlin/org/jetbrains/compose/web/svg/svg.kt index ff550ee82f..7cad171782 100644 --- a/web/svg/src/jsMain/kotlin/org/jetbrains/compose/web/svg/svg.kt +++ b/web/svg/src/jsMain/kotlin/org/jetbrains/compose/web/svg/svg.kt @@ -495,7 +495,7 @@ fun ElementScope.Polygon( TagElement( elementBuilder = Polygon, applyAttrs = { - points(points) + points(points = points) attrs?.invoke(this) }, content = content @@ -512,7 +512,7 @@ fun ElementScope.Polyline( TagElement( elementBuilder = Polyline, applyAttrs = { - points(points) + points(points = points) attrs?.invoke(this) }, content = content