fix: unnecessary assertion

!nuf
This commit is contained in:
Miodec 2024-09-08 13:05:35 +02:00
parent 38d8ac7212
commit e655aa741a

View file

@ -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;