SSR: Fix more merge/version conflicts

This commit is contained in:
Mononaut
2024-03-20 09:57:05 +00:00
parent 50e656b259
commit 6e2f17b3d2
17 changed files with 41 additions and 40 deletions

View File

@@ -8,7 +8,6 @@ import { Observable, BehaviorSubject } from 'rxjs';
import { SeoService } from '../../services/seo.service';
import { seoDescriptionNetwork } from '../../shared/common.utils';
import { WebsocketService } from '../../services/websocket.service';
import { isPlatformServer } from '@angular/common';
@Component({
selector: 'app-mempool-block',
@@ -33,7 +32,7 @@ export class MempoolBlockComponent implements OnInit, OnDestroy {
private cd: ChangeDetectorRef,
@Inject(PLATFORM_ID) private platformId: Object,
) {
this.webGlEnabled = isPlatformServer(this.platformId) || detectWebGL();
this.webGlEnabled = this.stateService.isBrowser && detectWebGL();
}
ngOnInit(): void {