From 70ae0e4ce774b74fdf1ee3ab71b9929fe7a5ee80 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Sat, 23 Jun 2018 12:42:45 -0400 Subject: [PATCH] prettier whitespace changes --- example-app/app/books/components/book-detail.component.ts | 4 ++-- example-app/app/books/components/book-preview.component.ts | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/example-app/app/books/components/book-detail.component.ts b/example-app/app/books/components/book-detail.component.ts index dc828662d3..061b5281ad 100644 --- a/example-app/app/books/components/book-detail.component.ts +++ b/example-app/app/books/components/book-detail.component.ts @@ -95,8 +95,8 @@ export class BookDetailComponent { get thumbnail() { return ( this.book.volumeInfo.imageLinks && - this.book.volumeInfo.imageLinks.smallThumbnail && - this.book.volumeInfo.imageLinks.smallThumbnail.replace('http:', '') + this.book.volumeInfo.imageLinks.smallThumbnail && + this.book.volumeInfo.imageLinks.smallThumbnail.replace('http:', '') ); } } diff --git a/example-app/app/books/components/book-preview.component.ts b/example-app/app/books/components/book-preview.component.ts index b92837aa44..b921c6f973 100644 --- a/example-app/app/books/components/book-preview.component.ts +++ b/example-app/app/books/components/book-preview.component.ts @@ -96,7 +96,10 @@ export class BookPreviewComponent { get thumbnail(): string | boolean { if (this.book.volumeInfo.imageLinks) { - return this.book.volumeInfo.imageLinks.smallThumbnail.replace('http:', ''); + return this.book.volumeInfo.imageLinks.smallThumbnail.replace( + 'http:', + '' + ); } return false;