()
| 155 | return t4; |
| 156 | } |
| 157 | export function useStats() { |
| 158 | const store = useContext(StatsContext); |
| 159 | if (!store) { |
| 160 | throw new Error("useStats must be used within a StatsProvider"); |
| 161 | } |
| 162 | return store; |
| 163 | } |
| 164 | export function useCounter(name) { |
| 165 | const $ = _c(3); |
| 166 | const store = useStats(); |
no outgoing calls
no test coverage detected