From c24b7097fa0af38bd6b122cdb1c0f6735d8377b5 Mon Sep 17 00:00:00 2001 From: Xiang Jaywhen Date: Fri, 24 Feb 2023 18:09:31 +0800 Subject: [PATCH] fix: function name typo (#1148) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed function name typo “handleAddFilterBenClick” -> "handleAddFilterBtnClick" [#1147 ](https://github.com/usememos/memos/issues/1147) --- web/src/components/CreateShortcutDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/CreateShortcutDialog.tsx b/web/src/components/CreateShortcutDialog.tsx index 96354344..b93e26fb 100644 --- a/web/src/components/CreateShortcutDialog.tsx +++ b/web/src/components/CreateShortcutDialog.tsx @@ -71,7 +71,7 @@ const CreateShortcutDialog: React.FC = (props: Props) => { destroy(); }; - const handleAddFilterBenClick = () => { + const handleAddFilterBtnClick = () => { if (filters.length > 0) { const lastFilter = filters[filters.length - 1]; if (lastFilter.value.value === "") { @@ -131,7 +131,7 @@ const CreateShortcutDialog: React.FC = (props: Props) => { /> ); })} -
+
{t("filter.new-filter")}