@@ -546,7 +546,7 @@ function AsyncLoadingExample() {
546
546
547
547
// Slow down load so progress circle can appear
548
548
await new Promise ( resolve => setTimeout ( resolve , 1500 ) ) ;
549
- let res = await fetch ( cursor || `https://swapi.dev /api/people/?search=${ filterText } ` , { signal} ) ;
549
+ let res = await fetch ( cursor || `https://swapi.py4e.com /api/people/?search=${ filterText } ` , { signal} ) ;
550
550
let json = await res . json ( ) ;
551
551
552
552
return {
@@ -585,7 +585,7 @@ function AsyncLoadingExampleControlledKey() {
585
585
// Slow down load so progress circle can appear
586
586
await new Promise ( resolve => setTimeout ( resolve , 1500 ) ) ;
587
587
588
- let res = await fetch ( cursor || `https://swapi.dev /api/people/?search=${ filterText } ` , { signal} ) ;
588
+ let res = await fetch ( cursor || `https://swapi.py4e.com /api/people/?search=${ filterText } ` , { signal} ) ;
589
589
let json = await res . json ( ) ;
590
590
591
591
return {
@@ -642,7 +642,7 @@ function AsyncLoadingExampleControlledKeyWithReset() {
642
642
// Slow down load so progress circle can appear
643
643
await new Promise ( resolve => setTimeout ( resolve , 1500 ) ) ;
644
644
645
- let res = await fetch ( cursor || `https://swapi.dev /api/people/?search=${ filterText } ` , { signal} ) ;
645
+ let res = await fetch ( cursor || `https://swapi.py4e.com /api/people/?search=${ filterText } ` , { signal} ) ;
646
646
let json = await res . json ( ) ;
647
647
648
648
let selectedText ;
0 commit comments