mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
Fixed error in linter
This commit is contained in:
parent
ab656f86dd
commit
0c47c3c23c
@ -55,10 +55,13 @@ export default function FocusTrap({ children, focusFirst = false }: Props) {
|
|||||||
}
|
}
|
||||||
}, [root, children])
|
}, [root, children])
|
||||||
|
|
||||||
return React.createElement('div', {
|
return React.createElement(
|
||||||
|
'div',
|
||||||
|
{
|
||||||
ref: root,
|
ref: root,
|
||||||
children,
|
|
||||||
className: 'outline-none focus-trap',
|
className: 'outline-none focus-trap',
|
||||||
tabIndex: -1,
|
tabIndex: -1,
|
||||||
})
|
},
|
||||||
|
children
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user