Fixed import of charizard image for example

develop
Jason Zhu 2023-03-18 23:52:12 +11:00
parent fe2f07a165
commit 610b501d9a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import './Pokemon.css'; import './Pokemon.css';
import testimage from './assets/cardimg.svg'; import charizard from './assets/charizard.svg';
export function Pokemon() { export function Pokemon() {
return ( return (
@ -22,7 +22,7 @@ export function Pokemon() {
</div> </div>
</div> </div>
<div className="image__container"> <div className="image__container">
<img src={testimage} alt="test" height={150} /> <img src={charizard} alt="test" height={150} />
</div> </div>
<div className="poke__name"> <div className="poke__name">
<h3>Charizard</h3> <h3>Charizard</h3>