File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
apps/webapp/app/components/primitives Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,7 @@ const DialogContent = React.forwardRef<
5353 < DialogPrimitive . Close className = "data-[state=open]:bg-accent data-[state=open]:text-muted-foreground group absolute right-2 top-[0.5625rem] flex items-center gap-1 rounded-sm p-1 py-1 pl-0 pr-1 opacity-70 transition focus-custom hover:bg-charcoal-750 hover:opacity-100 focus-visible:focus-custom disabled:pointer-events-none" >
5454 < ShortcutKey
5555 shortcut = { {
56- windows : {
57- key : "esc" ,
58- } ,
59- mac : {
60- key : "esc" ,
61- } ,
56+ key : "esc" ,
6257 } }
6358 variant = "medium"
6459 />
Original file line number Diff line number Diff line change @@ -91,17 +91,7 @@ const SheetTitle = React.forwardRef<
9191 >
9292 { children }
9393 < SheetPrimitive . Close className = "flex items-center gap-1 rounded-sm p-1 pl-0 transition hover:bg-charcoal-750 focus-visible:focus-custom disabled:pointer-events-none" >
94- < ShortcutKey
95- shortcut = { {
96- windows : {
97- key : "esc" ,
98- } ,
99- mac : {
100- key : "esc" ,
101- } ,
102- } }
103- variant = "small"
104- />
94+ < ShortcutKey shortcut = { { key : "esc" } } variant = "small" />
10595 < XMarkIcon className = "size-4 text-text-dimmed" />
10696 < span className = "sr-only" > Close</ span >
10797 </ SheetPrimitive . Close >
You can’t perform that action at this time.
0 commit comments