Skip to content

Commit d33c15c

Browse files
FlurinFlurin
Flurin
authored and
Flurin
committed
fix2
1 parent 15222fd commit d33c15c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

soemi-woeb/src/App.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ function App() {
1515
console.log(imgJson);
1616
setPlanet(imgJson);
1717
} catch (error) {
18-
console.log("error")
18+
console.log(error);
1919
}finally{
20-
document.body.style.cursor = 'default'
20+
document.body.style.cursor = 'default';
2121
}
2222
};
2323

@@ -91,7 +91,7 @@ export function Planet({ planet }) {
9191
return (
9292
<>
9393
<h1>Name: {name}</h1>
94-
<img src={image} alt="Star Wars Planet" style="width: 50%;"/>
94+
<img src={image} alt="Star Wars Planet" style={"width: 50%"}/>
9595
</>
9696
);
9797
}

0 commit comments

Comments
 (0)