We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2eca7e commit 7b0bda7Copy full SHA for 7b0bda7
examples/suspense/src/queries.js
@@ -1,13 +1,13 @@
1
import axios from "axios";
2
3
-let count = 0;
+// let count = 0;
4
5
export async function fetchProjects(key) {
6
console.info("fetch projects");
7
- if (count < 4) {
8
- count++;
9
- throw new Error("testing");
10
- }
+ // if (count < 4) {
+ // count++;
+ // throw new Error("testing");
+ // }
11
let { data } = await axios.get(
12
`https://api.github.com/users/tannerlinsley/repos?sort=updated`
13
);
0 commit comments