Skip to content

Commit 01d80d5

Browse files
committed
Remove unnecessary 'asChild' prop from RovingFocusGroup
1 parent aea1bc2 commit 01d80d5

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/components/tools/SandboxEditor/SandboxEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ const SandboxEditor = ({ children, className } : SandboxProps) => {
7373
{Object.keys(colors).map((color, idx) => {
7474
const colorName = color as AvailableColors;
7575
return <RovingFocusGroup.Item
76-
asChild
7776
key={idx}
7877
className='cursor-pointer rounded-full inline-block w-8 h-8 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500'
7978
onFocus={() => setColorName(colorName)}

src/components/ui/Tabs/fragments/TabTrigger.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const TabTrigger = ({ tab, className = '', ...props }: TabTriggerProps) => {
3737

3838
return (
3939
<RovingFocusGroup.Item
40-
asChild
4140
onFocus={() => handleFocus(tab)}
4241
>
4342
<button

0 commit comments

Comments
 (0)