Skip to content

Commit

Permalink
Merge pull request #3521 from Alik-Agarwala/Dev
Browse files Browse the repository at this point in the history
Avoid Unnecessary Instantiation of ApplicationInsights
  • Loading branch information
NikCharlebois authored Sep 5, 2023
2 parents e703724 + eb5e6ed commit 1214aa6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions generator/src/services/TelemetryService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { ApplicationInsights } from '@microsoft/applicationinsights-web';
import { ReactPlugin } from '@microsoft/applicationinsights-react-js';

let reactPlugin = new ReactPlugin();
let appInsights = new ApplicationInsights({
config: {}
});
let appInsights;

/**
* Create the App Insights Telemetry Service
Expand Down

0 comments on commit 1214aa6

Please sign in to comment.