diff --git a/src/Connected.Components/Components/Drawer/Drawer.razor.cs b/src/Connected.Components/Components/Drawer/Drawer.razor.cs index 3532703..84f0a11 100644 --- a/src/Connected.Components/Components/Drawer/Drawer.razor.cs +++ b/src/Connected.Components/Components/Drawer/Drawer.razor.cs @@ -176,7 +176,7 @@ public partial class Drawer : UIComponent, IDisposable, INavigationEventReceiver get { return new StyleBuilder() - .AddStyle(StyleList) + .AddStyle(StyleList?? "") .AddStyle("width", Width, !string.IsNullOrWhiteSpace(Width) && !Fixed) .AddStyle("drawer-width", Width, !string.IsNullOrWhiteSpace(Width) && (!Fixed || Variant == DrawerVariant.Temporary)) .AddStyle("height", Height, !string.IsNullOrWhiteSpace(Height)) diff --git a/src/Connected.Components/Components/Main/MainContent.razor b/src/Connected.Components/Components/Main/MainContent.razor index 5c85d57..81b58b6 100644 --- a/src/Connected.Components/Components/Main/MainContent.razor +++ b/src/Connected.Components/Components/Main/MainContent.razor @@ -1,20 +1,7 @@ @namespace Connected.Components @using Connected.Annotations; -@using Connected.Utilities; @inherits UIComponent -