Skip to content

Commit

Permalink
image path
Browse files Browse the repository at this point in the history
  • Loading branch information
philyawj committed Jul 18, 2019
1 parent a66941c commit 4184ffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/EnemyAvatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class EnemyAvatar extends PureComponent {
}
return (
<div className={anim}>
<img className="avatar mr-3 mt-4" src="/img/enemy.png" alt="" />
<img className="avatar mr-3 mt-4" src="./img/enemy.png" alt="" />
</div>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Components/PlayerAvatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default class EnemyAvatar extends PureComponent {
}
return (
<div className={anim}>
<img className="avatar mx-2" src="/img/hero.png" alt="" />
<img className="avatar mx-2" src="./img/hero.png" alt="" />
</div>
);
}
Expand Down

0 comments on commit 4184ffb

Please sign in to comment.