mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: function name typo (#1148)
fixed function name typo “handleAddFilterBenClick” -> "handleAddFilterBtnClick" [#1147 ](https://github.com/usememos/memos/issues/1147)
This commit is contained in:
@@ -71,7 +71,7 @@ const CreateShortcutDialog: React.FC<Props> = (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: Props) => {
|
||||
/>
|
||||
);
|
||||
})}
|
||||
<div className="create-filter-btn" onClick={handleAddFilterBenClick}>
|
||||
<div className="create-filter-btn" onClick={handleAddFilterBtnClick}>
|
||||
{t("filter.new-filter")}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user