File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,8 @@ loader.current; // "idle"
62
62
loader .next (" FETCH" );
63
63
loader .current ; // "loading"
64
64
65
- loader .results .then ((result ) => {
66
- console .log (" Fetched" , result .fetchData );
67
- // Use response of fetch()
65
+ loader .results .then ((results ) => {
66
+ console .log (" Fetched" , results .fetchData ); // Use response of fetch()
68
67
loader .current ; // "success"
69
68
});
70
69
@@ -113,8 +112,8 @@ loader.current; // "idle"
113
112
loader .next (" FETCH" );
114
113
loader .current ; // "loading"
115
114
116
- loader .results .then (([ response ] ) => {
117
- // Use response of fetch()
115
+ loader .results .then ((results ) => {
116
+ console . log ( " Fetched " , results . fetchData ); // Use response of fetch()
118
117
loader .current ; // "success"
119
118
});
120
119
```
You can’t perform that action at this time.
0 commit comments