From c2195aa02fc354277217712442f6d57cd4f78fab Mon Sep 17 00:00:00 2001 From: Ronny Date: Sun, 12 Apr 2026 16:07:02 +0200 Subject: [PATCH] style: Lucide TrendingUp/Down icons for rank change arrows --- frontend/src/pages/DashboardPage.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/DashboardPage.tsx b/frontend/src/pages/DashboardPage.tsx index cfdb255..ff926fe 100644 --- a/frontend/src/pages/DashboardPage.tsx +++ b/frontend/src/pages/DashboardPage.tsx @@ -1,5 +1,6 @@ import { useEffect, useState } from 'react'; import { useNavigate } from 'react-router-dom'; +import { TrendingUp, TrendingDown } from 'lucide-react'; import { api, DashboardData, Match } from '../api/client'; import TipModal from '../components/TipModal'; import styles from './DashboardPage.module.css'; @@ -157,8 +158,8 @@ export default function DashboardPage(_props: Props) {
{stats.rank !== null ? stats.rank : '—'} - {rankDiff > 0 && ↑{rankDiff}} - {rankDiff < 0 && ↓{Math.abs(rankDiff)}} + {rankDiff > 0 && } + {rankDiff < 0 && } Dein Rang