Skip to content

Commit ca66409

Browse files
committed
fix: remove duplicates caused by horrendous vscode merge ui
1 parent 39d1024 commit ca66409

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/renderer/components/command/CommandMenu.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,6 @@ export function CommandMenu({
9595
onOpenChange(false);
9696
};
9797

98-
const handleNavigateToRecordings = () => {
99-
const recordingsTab = tabs.find((tab) => tab.type === "recordings");
100-
if (recordingsTab) {
101-
setActiveTab(recordingsTab.id);
102-
} else {
103-
createTab({
104-
type: "recordings",
105-
title: "Recordings",
106-
});
107-
}
108-
onOpenChange(false);
109-
};
110-
11198
const handleCreateTask = () => {
11299
onOpenChange(false);
113100
onCreateTask?.();
@@ -183,14 +170,6 @@ export function CommandMenu({
183170
<MicrophoneIcon className="mr-3 h-4 w-4 text-gray-11" />
184171
<Text size="2">Go to recordings</Text>
185172
</Command.Item>
186-
187-
<Command.Item
188-
value="Go to recordings"
189-
onSelect={handleNavigateToRecordings}
190-
>
191-
<MicrophoneIcon className="mr-3 h-4 w-4 text-gray-11" />
192-
<Text size="2">Go to recordings</Text>
193-
</Command.Item>
194173
</Command.Group>
195174

196175
{tasks.length > 0 && (

0 commit comments

Comments
 (0)