Skip to content

Commit

Permalink
route
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioCastro0713 committed Apr 22, 2020
1 parent 5be2859 commit 3085842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/IconWeatherComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function IconWeatherComponent({icon}) {

return (
<div>
<img src={`${process.env.PUBLIC_URL}/weather-icons/${svg}`} width="110" height="110" alt=""/>
<img src={`${window.location.origin}/weather-icons/${svg}`} width="110" height="110" alt=""/>
</div>
);
}
Expand Down

0 comments on commit 3085842

Please sign in to comment.