()
| 1511 | if (!token) return false; |
| 1512 | |
| 1513 | const reset = (): void => { |
| 1514 | pendingRef.current = 0; |
| 1515 | if (timerRef.current) clearTimeout(timerRef.current); |
| 1516 | timerRef.current = undefined; |
| 1517 | }; |
| 1518 | |
| 1519 | if (pendingRef.current > 0) { |
| 1520 | if (token === tokens[pendingRef.current]) { |