(url: string)
| 1 | import { useEffect } from 'react'; |
| 2 | |
| 3 | const preloadImage = (url: string) => { |
| 4 | const img = new Image(); |
| 5 | img.src = url; |
| 6 | }; |
| 7 | |
| 8 | /** |
| 9 | * Preloads images in the background during browser idle time. |
nothing calls this directly
no outgoing calls
no test coverage detected