From 25ebd7ee47905d7a5dd8961ed0ad5f1ebed0df36 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 22 May 2024 16:05:07 +0200 Subject: [PATCH] Fix small error in example code --- samples/MinimalHtmxorApp/Components/Pages/Counter.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/MinimalHtmxorApp/Components/Pages/Counter.razor b/samples/MinimalHtmxorApp/Components/Pages/Counter.razor index 245bd58..56a51af 100644 --- a/samples/MinimalHtmxorApp/Components/Pages/Counter.razor +++ b/samples/MinimalHtmxorApp/Components/Pages/Counter.razor @@ -38,7 +38,7 @@ { // Access the HtmxContextEventArgs to control // the response headers to the client. - // E.g.: args.Response.StatusCode(201); + // E.g.: args.Response.StatusCode(HttpStatusCode.Created); CurrentCount++; }