1
0
mirror of https://github.com/vercel/commerce.git synced 2025-07-07 21:31:22 +00:00
This commit is contained in:
Belen Curcio 2021-01-06 12:30:41 -03:00
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 end = 60 // Try to find match at least n times
let i = 0 let i = 0
const timer = setInterval(() => { const timer = setInterval(() => {
console.log('-----------', i)
if (!match !== i > end) { if (!match !== i > end) {
match = !!tabbable(root.current).length match = !!tabbable(root.current).length
if (match) { if (match) {