Skip to content

Commit 3d4dcb6

Browse files
committed
[DSC-1864] Remove unused browserPlatform variable
1 parent 71720e8 commit 3d4dcb6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/app/root/root.component.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { first, map, skipWhile, startWith } from 'rxjs/operators';
22
import { Component, Inject, Input, OnInit, PLATFORM_ID } from '@angular/core';
33
import { Router } from '@angular/router';
4-
import { isPlatformBrowser } from '@angular/common';
54

65
import { combineLatest as combineLatestObservable, Observable, of } from 'rxjs';
76
import { CSSVariableService } from '../shared/sass-helper/css-variable.service';
@@ -39,11 +38,6 @@ export class RootComponent implements OnInit {
3938
*/
4039
@Input() shouldShowRouteLoader: boolean;
4140

42-
/**
43-
* In order to show sharing component only in csr
44-
*/
45-
browserPlatform = false;
46-
4741
constructor(
4842
private router: Router,
4943
private cssService: CSSVariableService,
@@ -52,7 +46,6 @@ export class RootComponent implements OnInit {
5246
@Inject(PLATFORM_ID) platformId: any
5347
) {
5448
this.notificationOptions = environment.notifications;
55-
this.browserPlatform = isPlatformBrowser(platformId);
5649
}
5750

5851
ngOnInit() {

0 commit comments

Comments
 (0)