({ children, instance })
| 2 | import AnalyticsContext from './AnalyticsContext' |
| 3 | |
| 4 | const AnalyticsProvider = ({ children, instance }) => { |
| 5 | invariant(instance, `Analytics instance not provided to <AnalyticsProvider />`) |
| 6 | return ( |
| 7 | <AnalyticsContext.Provider |
| 8 | value={instance} |
| 9 | children={children || null} |
| 10 | /> |
| 11 | ) |
| 12 | } |
| 13 | |
| 14 | export default AnalyticsProvider |
nothing calls this directly
no outgoing calls
no test coverage detected