mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 13:11:23 +00:00
Polish
This commit is contained in:
parent
f6ca1e3347
commit
aa38c869bd
@ -34,7 +34,6 @@ export default function FocusTrap({ children, focusFirst = false }: Props) {
|
||||
let end = 60 // Try to find match at least n times
|
||||
let i = 0
|
||||
const timer = setInterval(() => {
|
||||
console.log('-----------', i)
|
||||
if (!match !== i > end) {
|
||||
match = !!tabbable(root.current).length
|
||||
if (match) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user