Reset blockchain scroll on logo click

This commit is contained in:
Mononaut
2023-06-09 19:03:47 -04:00
parent 9a99ee6486
commit 57ac1486a0
4 changed files with 14 additions and 1 deletions

View File

@@ -53,4 +53,8 @@ export class MasterPageComponent implements OnInit {
onResize(): void {
this.isMobile = window.innerWidth <= 767.98;
}
brandClick(e): void {
this.stateService.resetScroll$.next(true);
}
}