| 1 | import { useEffect, useState } from 'react'; |
| 2 | |
| 3 | interface Props { |
| 4 | fetch(): Promise<void>; |
| 5 | success(data: any): void; |
| 6 | error(): void; |
| 7 | } |
| 8 | |
| 9 | const POLL_INTERVAL_IN_SECONDS = 999999; |
| 10 | const POLL_INTERVAL = POLL_INTERVAL_IN_SECONDS * 1000; |
no outgoing calls
no test coverage detected