Rerefactor acceleration dashboard

This commit is contained in:
Mononaut
2023-12-08 13:03:08 +00:00
parent 42f6f0c122
commit aff44d90d5
8 changed files with 158 additions and 176 deletions

View File

@@ -56,7 +56,7 @@ export class AcceleratorDashboardComponent implements OnInit {
this.accelerations$ = this.stateService.chainTip$.pipe(
distinctUntilChanged(),
switchMap((chainTip) => {
return this.apiService.getAccelerationHistory$({ timeframe: '1w' });
return this.apiService.getAccelerationHistory$({ timeframe: '1m' });
}),
catchError((e) => {
return of([]);