docs: refactor analytics + remove segment (#13954)
* docs: refactor analytics + remove segment * small refactor of condition
This commit is contained in:
@@ -21,10 +21,7 @@ type ProvidersProps = {
|
||||
|
||||
const Providers = ({ children }: ProvidersProps) => {
|
||||
return (
|
||||
<AnalyticsProvider
|
||||
segmentWriteKey={process.env.NEXT_PUBLIC_SEGMENT_API_KEY}
|
||||
reoDevKey={process.env.NEXT_PUBLIC_REO_DEV_CLIENT_ID}
|
||||
>
|
||||
<AnalyticsProvider reoDevKey={process.env.NEXT_PUBLIC_REO_DEV_CLIENT_ID}>
|
||||
<SiteConfigProvider config={config}>
|
||||
<LearningPathProvider
|
||||
baseUrl={process.env.NEXT_PUBLIC_BASE_PATH || "/resources"}
|
||||
|
||||
Reference in New Issue
Block a user