()
| 281 | }; |
| 282 | |
| 283 | export const useCells = (): CellsContextType => { |
| 284 | const context = useContext(CellsContext); |
| 285 | if (context === undefined) { |
| 286 | throw new Error('useCells must be used within a CellsProvider'); |
| 287 | } |
| 288 | return context; |
| 289 | }; |
no outgoing calls
no test coverage detected