mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 07:16:17 +08:00
fix: unnecessary assertion
!nuf
This commit is contained in:
parent
38d8ac7212
commit
e655aa741a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue