aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/LineIcon.tsx
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-11-05 12:33:31 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-11-05 12:33:43 +0100
commit234d069f74499872a1d6612dc1c3dff418c52f20 (patch)
tree8ad94b351f4fc0faf00e9a5738af4467bd6b3ec6 /src/frontend/app/components/LineIcon.tsx
parent569012a4db414201c09f8991e62e0a26cecd9e67 (diff)
Refactor LineIcon component to display the original line name and adjust StopSheet styles for better layout
Diffstat (limited to 'src/frontend/app/components/LineIcon.tsx')
-rw-r--r--src/frontend/app/components/LineIcon.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/app/components/LineIcon.tsx b/src/frontend/app/components/LineIcon.tsx
index 55e38c2..ef05987 100644
--- a/src/frontend/app/components/LineIcon.tsx
+++ b/src/frontend/app/components/LineIcon.tsx
@@ -20,7 +20,7 @@ const LineIcon: React.FC<LineIconProps> = ({ line, region = "vigo", rounded = fa
className={rounded ? 'line-icon-rounded' : 'line-icon'}
style={{ '--line-colour': `var(${cssVarName})`, '--line-text-colour': `var(${cssTextVarName}, unset)` } as React.CSSProperties}
>
- {formattedLine}
+ {line}
</span>
);
};