Skip to content

Commit

Permalink
Test prod envs (#8)
Browse files Browse the repository at this point in the history
* add prod and test env var

* image path
  • Loading branch information
aloxe authored May 28, 2024
1 parent 7751648 commit f50a143
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .env.production

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/SideBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const SideBar = ({step, currentYear, currentCountry, currentTile, geojsonList, h
</div>
<h3>tiles</h3>
<div className='tags tiles'>
{tiles.map(tile => (<img src={`${import.meta.env.VITE_BASE_URL}/img/${tile}.png`} key={tile} alt={tile} onClick={handleClickTile} className={`tag ${currentTile === tile && 'select'}`}/>))}
{tiles.map(tile => (<img src={`${import.meta.env.VITE_BASE_URL}img/${tile}.png`} key={tile} alt={tile} onClick={handleClickTile} className={`tag ${currentTile === tile && 'select'}`}/>))}
</div>
</div>
</>
Expand Down

0 comments on commit f50a143

Please sign in to comment.