mirror of
https://github.com/mempool/mempool.git
synced 2025-02-20 13:34:40 +01:00
Trying 1500ms pre-load delay
This commit is contained in:
parent
448d073bf2
commit
b7662347c9
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { Observable, timer, mergeMap, of } from 'rxjs';
|
|||
export class AppPreloadingStrategy implements PreloadingStrategy {
|
||||
preload(route: Route, load: Function): Observable<any> {
|
||||
return route.data && route.data.preload
|
||||
? timer(800).pipe(mergeMap(() => load()))
|
||||
? timer(1500).pipe(mergeMap(() => load()))
|
||||
: of(null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue