diff --git a/Oqtane.Client/Modules/Controls/ActionDialog.razor b/Oqtane.Client/Modules/Controls/ActionDialog.razor
index 09e93225..83948efe 100644
--- a/Oqtane.Client/Modules/Controls/ActionDialog.razor
+++ b/Oqtane.Client/Modules/Controls/ActionDialog.razor
@@ -223,15 +223,6 @@ else
_visible = (PageState.QueryString["dialog"] == Id);
}
}
- ///
- /// Checks the Class that is used for the Action Button, if it is small make the Cancel Button small as well.
- ///
- ///
- ///
- private string GetButtonSize()
- {
- return Class.Contains("btn-sm", StringComparison.OrdinalIgnoreCase) ? "btn-sm" : string.Empty;
- }
private bool IsAuthorized()
{