From d60bef7070a159f2e9ff3460b804b2516a496153 Mon Sep 17 00:00:00 2001 From: FrigaT Date: Sun, 7 Dec 2025 11:28:11 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BotPages.Core/Routing/CommandsRegistry.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/BotPages.Core/Routing/CommandsRegistry.cs b/BotPages.Core/Routing/CommandsRegistry.cs index 6435601..93344ef 100644 --- a/BotPages.Core/Routing/CommandsRegistry.cs +++ b/BotPages.Core/Routing/CommandsRegistry.cs @@ -17,8 +17,6 @@ internal sealed class CommandsRegistry /// public CommandsRegistry Map(string commandTemplate, bool publish = false, string? description = null) where TPage : Page { - var pattern = ToRegex(commandTemplate); - return Map(commandTemplate, (ctx, args, ct) => ctx.Navigation.GoToAsync(ctx, ct), publish, description); }