Skip to content

Commit f1c8716

Browse files
committed
style(app): correct indentation of @component decorators
1 parent 7a2ef69 commit f1c8716

File tree

7 files changed

+41
-41
lines changed

7 files changed

+41
-41
lines changed

firestore/src/app/filter-dialog/filter-dialog.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ import { DialogData, filterCategories, filterCities } from './dialogdata';
2020

2121

2222
@Component({
23-
selector: 'app-filter-dialog',
24-
templateUrl: './filter-dialog.component.html',
25-
styleUrls: ['./filter-dialog.component.css'],
26-
encapsulation: ViewEncapsulation.None,
27-
standalone: false
23+
selector: 'app-filter-dialog',
24+
templateUrl: './filter-dialog.component.html',
25+
styleUrls: ['./filter-dialog.component.css'],
26+
encapsulation: ViewEncapsulation.None,
27+
standalone: false
2828
})
2929
export class FilterDialogComponent {
3030
cities: string[] = filterCities;

firestore/src/app/homepage/homepage.component.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ import { SignInModalComponent } from '../sign-in-modal/sign-in-modal.component';
3434
import { HomepageFirestore } from './hompage.service';
3535

3636
@Component({
37-
selector: 'app-homepage',
38-
templateUrl: './homepage.component.html',
39-
styleUrls: ['./homepage.component.css'],
40-
providers: [
41-
{
42-
provide: MAT_DIALOG_DATA,
43-
useValue: {}
44-
},
45-
{
46-
provide: MatDialogRef,
47-
useValue: {}
48-
}
49-
],
50-
standalone: false
37+
selector: 'app-homepage',
38+
templateUrl: './homepage.component.html',
39+
styleUrls: ['./homepage.component.css'],
40+
providers: [
41+
{
42+
provide: MAT_DIALOG_DATA,
43+
useValue: {}
44+
},
45+
{
46+
provide: MatDialogRef,
47+
useValue: {}
48+
}
49+
],
50+
standalone: false
5151
})
5252

5353
export class HomepageComponent {

firestore/src/app/restaurant-card/restaurant-card.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import { Restaurant } from '../../types/restaurant';
1919
import { Router } from '@angular/router';
2020

2121
@Component({
22-
selector: 'app-restaurant-card',
23-
templateUrl: './restaurant-card.component.html',
24-
styleUrls: ['./restaurant-card.component.css'],
25-
standalone: false
22+
selector: 'app-restaurant-card',
23+
templateUrl: './restaurant-card.component.html',
24+
styleUrls: ['./restaurant-card.component.css'],
25+
standalone: false
2626
})
2727
export class RestaurantCardComponent {
2828
onCardClicked = () => {

firestore/src/app/restuarant-page/restuarant-page.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ import {
2525
} from '../submit-review-modal/submit-review-modal.component';
2626

2727
@Component({
28-
selector: 'app-restuarant-page',
29-
templateUrl: './restuarant-page.component.html',
30-
styleUrls: ['./restuarant-page.component.css'],
31-
standalone: false
28+
selector: 'app-restuarant-page',
29+
templateUrl: './restuarant-page.component.html',
30+
styleUrls: ['./restuarant-page.component.css'],
31+
standalone: false
3232
})
3333
export class RestuarantPageComponent implements OnInit {
3434
restaurantData: Observable<Restaurant> = new Observable();

firestore/src/app/review-list/review-list.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ import { Observable } from 'rxjs';
2020
import { Firestore, collection, collectionData } from '@angular/fire/firestore';
2121

2222
@Component({
23-
selector: 'app-review-list',
24-
templateUrl: './review-list.component.html',
25-
styleUrls: ['./review-list.component.css'],
26-
standalone: false
23+
selector: 'app-review-list',
24+
templateUrl: './review-list.component.html',
25+
styleUrls: ['./review-list.component.css'],
26+
standalone: false
2727
})
2828
export class ReviewListComponent implements OnInit {
2929
@Input() restaurantID: string | null = null;

firestore/src/app/sign-in-modal/sign-in-modal.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export interface SignInOptions {
2828
}
2929

3030
@Component({
31-
selector: "app-sign-in-modal",
32-
templateUrl: "./sign-in-modal.component.html",
33-
styleUrls: ["./sign-in-modal.component.css"],
34-
encapsulation: ViewEncapsulation.None,
35-
standalone: false
31+
selector: "app-sign-in-modal",
32+
templateUrl: "./sign-in-modal.component.html",
33+
styleUrls: ["./sign-in-modal.component.css"],
34+
encapsulation: ViewEncapsulation.None,
35+
standalone: false
3636
})
3737

3838
/**

firestore/src/app/submit-review-modal/submit-review-modal.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import { Auth } from '@angular/fire/auth';
2222
import { Rating } from "../../types/ratings";
2323

2424
@Component({
25-
selector: "app-submit-review-modal",
26-
templateUrl: "./submit-review-modal.component.html",
27-
styleUrls: ["./submit-review-modal.component.css"],
28-
encapsulation: ViewEncapsulation.None,
29-
standalone: false
25+
selector: "app-submit-review-modal",
26+
templateUrl: "./submit-review-modal.component.html",
27+
styleUrls: ["./submit-review-modal.component.css"],
28+
encapsulation: ViewEncapsulation.None,
29+
standalone: false
3030
})
3131
export class SubmitReviewModalComponent {
3232
private firestore: Firestore = inject(Firestore);

0 commit comments

Comments
 (0)