Skip to content

Commit

Permalink
fix: ✏️ dupe imports
Browse files Browse the repository at this point in the history
  • Loading branch information
whizzzkid committed Jan 26, 2023
1 parent dfc72df commit c2c4277
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MetricsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ export default class MetricsProvider<T extends CountlyWebSdk | CountlyNodeSdk> {
const { autoTrack, metricsService, storageProvider } = serviceConfig
this.metricsService = metricsService
this.storageProvider = storageProvider ?? null
this.accumulate = new EventAccumulator(metricsService)
this.storageProvider = storageProvider ?? null
this.metricsService.init(serviceConfig)
this.accumulate = new EventAccumulator(metricsService)
this.metricsService.group_features(this.groupedFeatures)

if (autoTrack) {
Expand Down

0 comments on commit c2c4277

Please sign in to comment.