Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix client registration performance

Chocobozzzf3907ceeafc7
diff --git a/client/src/app/+signup/shared/signup-mascot.component.ts b/client/src/app/+signup/shared/signup-mascot.component.ts
index a96ccffeef..c325f46fc6 100644
--- a/client/src/app/+signup/shared/signup-mascot.component.ts
+++ b/client/src/app/+signup/shared/signup-mascot.component.ts
@@ -1,4 +1,4 @@
-import { Component, Input } from '@angular/core'
+import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
import { DomSanitizer } from '@angular/platform-browser'
const images = {
@@ -14,7 +14,8 @@ export type MascotImageName = keyof typeof images
@Component({
selector: 'my-signup-mascot',
styleUrls: [ './signup-mascot.component.scss' ],
- template: `<div class="root" [innerHTML]="html"></div>`
+ template: `<div class="root" [innerHTML]="html"></div>`,
+ changeDetection: ChangeDetectionStrategy.OnPush
})
export class SignupMascotComponent {
@Input() imageName: MascotImageName