From e655aa741aa960d99cfdc79c122447a31f45ad08 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sun, 8 Sep 2024 13:05:35 +0200 Subject: [PATCH] fix: unnecessary assertion !nuf --- frontend/src/ts/commandline/lists/tags.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/ts/commandline/lists/tags.ts b/frontend/src/ts/commandline/lists/tags.ts index 3233baf02..377f2fc86 100644 --- a/frontend/src/ts/commandline/lists/tags.ts +++ b/frontend/src/ts/commandline/lists/tags.ts @@ -5,7 +5,6 @@ import * as TagController from "../../controllers/tag-controller"; import Config from "../../config"; import * as PaceCaret from "../../test/pace-caret"; import { isAuthenticated } from "../../firebase"; -import AnimatedModal from "../../utils/animated-modal"; const subgroup: MonkeyTypes.CommandsSubgroup = { title: "Change tags...", @@ -41,12 +40,7 @@ function update(): void { icon: "fa-plus", shouldFocusTestUI: false, exec: ({ commandlineModal }): void => { - EditTagsPopup.show( - "add", - undefined, - undefined, - commandlineModal as AnimatedModal - ); + EditTagsPopup.show("add", undefined, undefined, commandlineModal); }, }); return;