Skip to content

Commit

Permalink
Update app.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispyles authored Aug 11, 2024
1 parent 63fb008 commit a143c55
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ export class AppComponent implements OnInit {
}

checkViewportSize(): void {
if (this.window.innerWidth < 1000 || this.window.innerHeight < 850) {
this.viewportTooSmall.set(true);
} else {
this.viewportTooSmall.set(false);
}
this.viewportTooSmall.set(this.window.innerWidth < 1000 || this.window.innerHeight < 850);
}

/** The color to use for the icons in the header. */
Expand Down

0 comments on commit a143c55

Please sign in to comment.