From d4bb443fe98ac45bd7a378bf4701fb559e7f0ed0 Mon Sep 17 00:00:00 2001 From: capdiem Date: Thu, 1 Aug 2024 15:47:06 +0800 Subject: [PATCH] Update MPagination.razor.cs --- src/Masa.Blazor/Components/Pagination/MPagination.razor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Masa.Blazor/Components/Pagination/MPagination.razor.cs b/src/Masa.Blazor/Components/Pagination/MPagination.razor.cs index 8c681457f2..4e406c6fc8 100644 --- a/src/Masa.Blazor/Components/Pagination/MPagination.razor.cs +++ b/src/Masa.Blazor/Components/Pagination/MPagination.razor.cs @@ -328,9 +328,9 @@ private async void MasaBlazor_WindowSizeChanged(object? sender, BreakpointChange { InvokeAsync(() => { _internalMiniVariant = isMiniVaraint; - await MiniVariantChanged.InvokeAsync(_internalMiniVariant); + _ = MiniVariantChanged.InvokeAsync(_internalMiniVariant); StateHasChanged(); - }) + }); } } @@ -377,4 +377,4 @@ private bool InitializeIsAuto() return isAuto!.Value; } -} \ No newline at end of file +}