Fixed import of charizard image for example
parent
fe2f07a165
commit
610b501d9a
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue