File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
apps/desktop/src/components/main/body/sessions/note-input Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,11 @@ function HeaderTabEnhanced({
124124 >
125125 < span className = "flex items-center gap-1 h-5" >
126126 < TruncatedTitle title = { title } isActive = { isActive } />
127- < span
127+ < button
128+ type = "button"
128129 onClick = { handleCancelClick }
129130 className = "inline-flex h-5 w-5 items-center justify-center rounded cursor-pointer hover:bg-neutral-200"
131+ aria-label = "Cancel enhancement"
130132 >
131133 < span className = "group-hover/tab:hidden flex items-center justify-center" >
132134 { step ?. type === "generating" ? (
@@ -141,7 +143,7 @@ function HeaderTabEnhanced({
141143 ) }
142144 </ span >
143145 < XIcon className = "hidden group-hover/tab:flex items-center justify-center size-4" />
144- </ span >
146+ </ button >
145147 </ span >
146148 </ button >
147149 ) ;
You can’t perform that action at this time.
0 commit comments