diff --git a/examples/Demo/Shared/Shared/DemoNavProvider.cs b/examples/Demo/Shared/Shared/DemoNavProvider.cs index 5ac7b39be1..5ec9879f6c 100644 --- a/examples/Demo/Shared/Shared/DemoNavProvider.cs +++ b/examples/Demo/Shared/Shared/DemoNavProvider.cs @@ -84,8 +84,8 @@ public DemoNavProvider() title: "Services", expanded: false, gap: "10px", - children: - [ + children: new List + { new NavLink( href: "/DialogService", icon: new Icons.Regular.Size20.AppGeneric(), @@ -103,7 +103,7 @@ public DemoNavProvider() icon: new Icons.Regular.Size20.FoodToast(), title: "ToastService" ) - ] + } ) } ),