diff --git a/src/Connected.Components/Components/Grid.razor.cs b/src/Connected.Components/Components/Grid.razor.cs index 9ef8e61..e5ab426 100644 --- a/src/Connected.Components/Components/Grid.razor.cs +++ b/src/Connected.Components/Components/Grid.razor.cs @@ -9,9 +9,9 @@ public partial class Grid : ComponentBase { [Parameter] - public ObservableCollection? Items { get; set; } + public ObservableCollection? Items { get; set; } = new(); - private List? ItemsToShow { get; set; } + private List? ItemsToShow { get; set; } = new(); [Parameter] public RenderFragment? RowTemplate { get; set; }