File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function Characters() {
12
12
if ( status === "loading" ) return < p > Loading...</ p > ;
13
13
if ( status === "error" ) return < p > Error :(</ p > ;
14
14
15
- console . log ( data ) ;
15
+ console . info ( data ) ;
16
16
17
17
return (
18
18
< div >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function Character(props) {
24
24
if ( status === "loading" ) return < p > Loading...</ p > ;
25
25
if ( status === "error" ) return < p > Error :(</ p > ;
26
26
27
- console . log ( { data, status, error } ) ;
27
+ console . info ( { data, status, error } ) ;
28
28
const homeworldUrlParts = data . homeworld . split ( "/" ) . filter ( Boolean ) ;
29
29
const homeworldId = homeworldUrlParts [ homeworldUrlParts . length - 1 ] ;
30
30
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function Film(props) {
14
14
if ( status === "loading" ) return < p > Loading...</ p > ;
15
15
// this will not be necessary when v1 is released.
16
16
if ( data == null ) {
17
- console . log ( "this shouldn't happen but it does 2" ) ;
17
+ console . info ( "this shouldn't happen but it does 2" ) ;
18
18
return < p > Loading...</ p > ;
19
19
}
20
20
if ( status === "error" ) return < p > Error :(</ p > ;
You can’t perform that action at this time.
0 commit comments