Skip to content

Commit def30fc

Browse files
authored
refactor(Empty): fix typo error (#7670)
1 parent 7b33538 commit def30fc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/BootstrapBlazor/Components/Empty/Empty.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@namespace BootstrapBlazor.Components
1+
@namespace BootstrapBlazor.Components
22
@inherits BootstrapComponentBase
33

44
<div @attributes="AdditionalAttributes" class="@ClassString">
55
@if (Template != null)
66
{
7-
<div class="empty-telemplate">
7+
<div class="empty-template">
88
@Template
99
</div>
1010
}

src/BootstrapBlazor/Components/Empty/Empty.razor.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use "../../wwwroot/scss/variables" as *;
1+
@use "../../wwwroot/scss/variables" as *;
22

33
.empty {
44
--bb-empty-image-margin: #{$bb-empty-image-margin};
@@ -9,7 +9,7 @@
99
margin: var(--bb-empty-image-margin);
1010
}
1111

12-
.empty-telemplate {
12+
.empty-template {
1313
margin: var(--bb-empty-template-margin);
1414
}
1515
}

test/UnitTest/Components/SelectTableTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ public void EmptyTemplate_OK()
603603
});
604604
});
605605

606-
cut.Contains("<div class=\"empty\"><div class=\"empty-telemplate\">empty-template</div></div>");
606+
cut.Contains("<div class=\"empty\"><div class=\"empty-template\">empty-template</div></div>");
607607
}
608608

609609
[Fact]

0 commit comments

Comments
 (0)