From 361fc9fb973c3e0f3f217a196adce3502378241e Mon Sep 17 00:00:00 2001 From: alekswilc Date: Mon, 21 Apr 2025 21:15:33 +0200 Subject: [PATCH] fix: fix profile --- packages/frontend/src/components/pages/profiles/Profile.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/pages/profiles/Profile.tsx b/packages/frontend/src/components/pages/profiles/Profile.tsx index 06dce7d..d5864d5 100644 --- a/packages/frontend/src/components/pages/profiles/Profile.tsx +++ b/packages/frontend/src/components/pages/profiles/Profile.tsx @@ -37,9 +37,9 @@ const sortTrainsByList: Record = { } export const ProfileCard = ({ data, images }: { data: TProfileData, images: TImagesData }) => { - const [sortTrainsBy, setSortTrainsBy] = useState(0); + const [sortTrainsBy, setSortTrainsBy] = useState(2); const [sortTrainsBy2, setSortTrainsBy2] = useState(0); - const [sortStationsBy, setSortStationsBy] = useState(2); + const [sortStationsBy, setSortStationsBy] = useState(0); const [hideLeaderboardStatsModal, setHideLeaderboardStatsModal] = useState(false); const [hideProfileModal, setHideProfileModal] = useState(false);