Skip to content

Commit c607e42

Browse files
committed
remove dead code
1 parent 4f95699 commit c607e42

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

frontend/app/view/term/term-model.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ export class TermViewModel implements ViewModel {
108108
if (termMode == "vdom") {
109109
return { elemtype: "iconbutton", icon: "bolt" };
110110
}
111-
const isCmd = get(this.isCmdController);
112-
if (isCmd) {
113-
}
114111
return { elemtype: "iconbutton", icon: "terminal" };
115112
});
116113
this.viewName = jotai.atom((get) => {
@@ -1140,7 +1137,7 @@ export class TermViewModel implements ViewModel {
11401137
},
11411138
],
11421139
});
1143-
1140+
11441141
const isDurable = globalStore.get(getBlockTermDurableAtom(this.blockId));
11451142
if (isDurable) {
11461143
advancedSubmenu.push({
@@ -1153,7 +1150,7 @@ export class TermViewModel implements ViewModel {
11531150
],
11541151
});
11551152
}
1156-
1153+
11571154
fullMenu.push({
11581155
label: "Advanced",
11591156
submenu: advancedSubmenu,

0 commit comments

Comments
 (0)