From ba6ce54081e34286962f4c283705ae1c857a1a33 Mon Sep 17 00:00:00 2001 From: behnamrhp Date: Sat, 9 Dec 2023 17:29:08 +0300 Subject: [PATCH] Add current radio icon --- app/components/station-player.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/station-player.tsx b/app/components/station-player.tsx index 9334708..750f79b 100644 --- a/app/components/station-player.tsx +++ b/app/components/station-player.tsx @@ -39,7 +39,7 @@ export function StationPlayer({ station, nextPrevStationIds }: StationPlayerProp if (!nextPrevStationIds.prev) return; route(getStationUrl(nextPrevStationIds.prev)) }} - secondDescription={<>★ {station.popularity}} + secondDescription={station.popularity ? <>★ {station.popularity} : undefined} />); } catch (error) { console.log('rerrerer', error)