File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/renderer/components/command Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff 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 && (
You can’t perform that action at this time.
0 commit comments