diff --git a/examples/rick-morty/src/Characters.js b/examples/rick-morty/src/Characters.js index 142c4a25a2..39706a93af 100644 --- a/examples/rick-morty/src/Characters.js +++ b/examples/rick-morty/src/Characters.js @@ -12,7 +12,7 @@ export default function Characters() { if (status === "loading") return

Loading...

; if (status === "error") return

Error :(

; - console.log(data); + console.info(data); return (
diff --git a/examples/star-wars/src/Character.js b/examples/star-wars/src/Character.js index 0c4d065f62..95206b8a0c 100644 --- a/examples/star-wars/src/Character.js +++ b/examples/star-wars/src/Character.js @@ -24,7 +24,7 @@ function Character(props) { if (status === "loading") return

Loading...

; if (status === "error") return

Error :(

; - console.log({ data, status, error }); + console.info({ data, status, error }); const homeworldUrlParts = data.homeworld.split("/").filter(Boolean); const homeworldId = homeworldUrlParts[homeworldUrlParts.length - 1]; diff --git a/examples/star-wars/src/Film.js b/examples/star-wars/src/Film.js index 30f95508e9..c0d7b636f1 100644 --- a/examples/star-wars/src/Film.js +++ b/examples/star-wars/src/Film.js @@ -14,7 +14,7 @@ function Film(props) { if (status === "loading") return

Loading...

; // this will not be necessary when v1 is released. if (data == null) { - console.log("this shouldn't happen but it does 2"); + console.info("this shouldn't happen but it does 2"); return

Loading...

; } if (status === "error") return

Error :(

;