()
| 57018 | if (!s) return () => {} |
| 57019 | let B = !1, |
| 57020 | $ = null |
| 57021 | const checkForUpdates = () => { |
| 57022 | if (B || !x.current) return |
| 57023 | const s = o.getState() |
| 57024 | let i, U |
| 57025 | try { |
| 57026 | i = a(s, u.current) |
| 57027 | } catch (s) { |
| 57028 | ;((U = s), ($ = s)) |
| 57029 | } |
| 57030 | ;(U || ($ = null), |
| 57031 | i === _.current |
| 57032 | ? w.current || j() |
| 57033 | : ((_.current = i), (C.current = i), (w.current = !0), L())) |
| 57034 | } |
| 57035 | return ( |
| 57036 | (i.onStateChange = checkForUpdates), |
no test coverage detected