fix: console errors, notif error

This commit is contained in:
Lala, Shahd
2026-05-14 20:16:36 +00:00
parent 3fa687c450
commit e436dc871c
19 changed files with 919 additions and 216 deletions
@@ -104,7 +104,7 @@ export class ChallengesComponent implements OnInit, OnDestroy {
}
declineChallenge(challenge: Challenge): void {
this.challengeService.declineChallenge(challenge.id, { reason: 'Not interested' })
this.challengeService.declineChallenge(challenge.id, { reason: 'generic' })
.pipe(takeUntilDestroyed(this.destroyRef))
.subscribe({
next: () => {