()
| 35 | |
| 36 | useEffect(() => { |
| 37 | const callback = () => { |
| 38 | setWindowLoaded(true); |
| 39 | setNativeShareSupport('share' in globalThis?.navigator); |
| 40 | }; |
| 41 | |
| 42 | if ('windowLoaded' in window) { |
| 43 | requestIdleCallback(callback); |
nothing calls this directly
no outgoing calls
no test coverage detected