Skip to content

Commit 56d0004

Browse files
Clean up nullable warnings in test page
Co-authored-by: BorisGerretzen <[email protected]>
1 parent de1d24e commit 56d0004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SimpleBlazorMultiselect.Demo/Pages/PrefilledOptions.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
];
5656

5757
// Same instance scenario - this should work
58-
private HashSet<TestItem> _selectedItemsSameInstance;
58+
private HashSet<TestItem> _selectedItemsSameInstance = new();
5959

6060
// Different instance scenario - this should demonstrate the bug
61-
private HashSet<TestItem> _selectedItemsDifferentInstance;
61+
private HashSet<TestItem> _selectedItemsDifferentInstance = new();
6262

6363
protected override void OnInitialized()
6464
{

0 commit comments

Comments
 (0)