Skip to content

Commit

Permalink
Issue #PS-390 fix: Hide telemetry calls
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Jun 14, 2024
1 parent e0ccaa5 commit 2faaa71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function App({ Component, pageProps }: AppProps) {
{/* <ModeToggle /> */}
<Container maxWidth="md" style={{ padding: 0 }}>
<Component {...pageProps} />
<ToastContainer position="bottom-left" autoClose={3000} />
<ToastContainer position="bottom-left" autoClose={3000} stacked={false} />
</Container>
</CssVarsProvider>
</>
Expand Down
10 changes: 5 additions & 5 deletions src/utils/telemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ export const telemetryFactory = {
if (typeof window !== 'undefined') {
console.log('EkTelemetry', EkTelemetry);
if (!CsTelemetryModule.instance.isInitialised) {
CsTelemetryModule.instance.init({});
CsTelemetryModule.instance.telemetryService.initTelemetry({
config: telemetryConfig,
userOrgDetails: {}
});
// CsTelemetryModule.instance.init({});
// CsTelemetryModule.instance.telemetryService.initTelemetry({
// config: telemetryConfig,
// userOrgDetails: {}
// });
}
}
},
Expand Down

0 comments on commit 2faaa71

Please sign in to comment.