mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 13:53:03 -05:00
fix: run prettier on all file to avoid prettier issue inside PR
This commit is contained in:
@@ -11,7 +11,7 @@ import { PersonListComponent } from './person-list.component';
|
||||
<p>Performance is key!!</p>
|
||||
<button
|
||||
(click)="loadList = true"
|
||||
class="border border-black p-2 rounded-md">
|
||||
class="rounded-md border border-black p-2">
|
||||
Load List
|
||||
</button>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ const fibonacci = (num: number): number => {
|
||||
MatChipsModule,
|
||||
],
|
||||
template: `
|
||||
<h1 class="font-semibold text-center" title="Title">
|
||||
<h1 class="text-center font-semibold" title="Title">
|
||||
{{ title | titlecase }}
|
||||
</h1>
|
||||
|
||||
@@ -43,7 +43,7 @@ const fibonacci = (num: number): number => {
|
||||
<mat-list-item *ngFor="let person of persons">
|
||||
<div MatListItemLine class="flex justify-between">
|
||||
<h3>{{ person.name }}</h3>
|
||||
<mat-chip> {{ calculate(person.fib) }} </mat-chip>
|
||||
<mat-chip>{{ calculate(person.fib) }}</mat-chip>
|
||||
</div>
|
||||
</mat-list-item>
|
||||
</mat-list>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { appConfig } from './app/app.config';
|
||||
import { AppComponent } from './app/app.component';
|
||||
import { appConfig } from './app/app.config';
|
||||
|
||||
bootstrapApplication(AppComponent, appConfig).catch((err) =>
|
||||
console.error(err)
|
||||
console.error(err),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user