()
| 249 | }; |
| 250 | |
| 251 | export const useTabContext = () => { |
| 252 | const context = useContext(TabContext); |
| 253 | if (!context) { |
| 254 | throw new Error('useTabContext must be used within a TabProvider'); |
| 255 | } |
| 256 | return context; |
| 257 | }; |
no outgoing calls
no test coverage detected