Skip to content

Commit

Permalink
Merge pull request I-TECH-UW#498 from mozzy11/2.8
Browse files Browse the repository at this point in the history
make tile clicakble
  • Loading branch information
mozzy11 authored Aug 3, 2023
2 parents db0357f + 47b1276 commit 6e8a358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/home/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const HomeDashBoard: React.FC<DashBoardProps> = () => {
<>
<div className="dashboard-container">
{tilesData.map((tile, index) => (
<Tile key={index} className="dashboard-tile">
<ClickableTile key={index} className="dashboard-tile">
<h3 className="tile-title">{tile.title}</h3>
<p className="tile-subtitle">{tile.subtitle}</p>
<p className="tile-value">{tile.value}</p>
Expand All @@ -38,7 +38,7 @@ const HomeDashBoard: React.FC<DashBoardProps> = () => {
/>
</Link>
</div>
</Tile>
</ClickableTile>
))}
</div>

Expand Down

0 comments on commit 6e8a358

Please sign in to comment.