fix: run prettier on all file to avoid prettier issue inside PR

This commit is contained in:
thomas
2024-01-07 21:41:36 +01:00
parent 3bc793f6b3
commit c8b7c5d4a6
195 changed files with 575 additions and 452 deletions

View File

@@ -18,13 +18,13 @@ export class FakeBackendService {
getUsers = (active: keyof User, dir: SortDirection, pageIndex: number) =>
timer(0, 1000).pipe(
take(1),
map(() => this.sortByKey(this.users, active, sort[dir]))
map(() => this.sortByKey(this.users, active, sort[dir])),
);
private sortByKey(
arr: User[],
key: keyof User,
direction: SortDirectionIndex
direction: SortDirectionIndex,
): User[] {
return arr.sort((a, b) => {
const valueA = a[key];