Skip to content

Commit

Permalink
remove unused query
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Aug 13, 2024
1 parent aac7730 commit fbe699b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions webapp/src/app/about/about.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ export class AboutComponent {
gcTime: Infinity
}));

private queryArray = computed(
() =>
this.query.data()?.map((contributor) => ({
queryKey: ['contributor', contributor.id],
queryFn: async () => lastValueFrom(this.http.get(contributor.url)) as Promise<{ id: number; name: string }>,
gcTime: Infinity
})) ?? []
);

projectManager = computed(() => {
const data = this.query.data();
if (!data) {
Expand Down

0 comments on commit fbe699b

Please sign in to comment.