Skip to content

Commit bc02873

Browse files
fix(web): name the editor picker accurately (pingdotgg#10124)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 127efae commit bc02873

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

‎apps/web/src/components/chat/OpenInPicker.tsx‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,7 @@ export const OpenInPicker = memo(function OpenInPicker({
294294
<GroupSeparator {...(!compact ? { className: "hidden @3xl/header-actions:block" } : {})} />
295295
<Menu>
296296
<MenuTrigger
297-
render={
298-
<Button
299-
aria-label={compact ? "Choose editor" : "Copy options"}
300-
size="icon-xs"
301-
variant="outline"
302-
/>
303-
}
297+
render={<Button aria-label="Choose editor" size="icon-xs" variant="outline" />}
304298
>
305299
<ChevronDownIcon aria-hidden="true" className="size-4" />
306300
</MenuTrigger>

0 commit comments

Comments
 (0)