Skip to content

Commit 6f17ce3

Browse files
committed
Fixed redundant assignment. Fixes issue 11.
1 parent 57feb25 commit 6f17ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BlazorComponentUtilities/StyleBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public struct StyleBuilder
3232
/// </summary>
3333
/// <param name="prop"></param>
3434
/// <param name="value"></param>
35-
public StyleBuilder(string prop, string value) => stringBuffer = stringBuffer = $"{prop}:{value};";
35+
public StyleBuilder(string prop, string value) => stringBuffer = $"{prop}:{value};";
3636

3737
/// <summary>
3838
/// Adds a conditional in-line style to the builder with space separator and closing semicolon.

0 commit comments

Comments
 (0)