()
| 123 | |
| 124 | React.useEffect(() => { |
| 125 | function clearUpdateTimer() { |
| 126 | clearTimeout(updateTimer.current) |
| 127 | } |
| 128 | clearUpdateTimer() |
| 129 | // If there's no interval and we cannot increment this unit, do nothing |
| 130 | if (!updateIntervalInSeconds || !canIncrement(unit)) { |
no outgoing calls
no test coverage detected