aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/TimetableSkeleton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components/TimetableSkeleton.tsx')
-rw-r--r--src/frontend/app/components/TimetableSkeleton.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/frontend/app/components/TimetableSkeleton.tsx b/src/frontend/app/components/TimetableSkeleton.tsx
index 79c7725..cd5bc81 100644
--- a/src/frontend/app/components/TimetableSkeleton.tsx
+++ b/src/frontend/app/components/TimetableSkeleton.tsx
@@ -8,7 +8,7 @@ interface TimetableSkeletonProps {
}
export const TimetableSkeleton: React.FC<TimetableSkeletonProps> = ({
- rows = 4
+ rows = 4,
}) => {
const { t } = useTranslation();
@@ -24,7 +24,11 @@ export const TimetableSkeleton: React.FC<TimetableSkeletonProps> = ({
<div key={`timetable-skeleton-${index}`} className="timetable-card">
<div className="card-header">
<div className="line-info">
- <Skeleton width="40px" height="24px" style={{ borderRadius: "4px" }} />
+ <Skeleton
+ width="40px"
+ height="24px"
+ style={{ borderRadius: "4px" }}
+ />
</div>
<div className="destination-info">
@@ -48,7 +52,7 @@ export const TimetableSkeleton: React.FC<TimetableSkeletonProps> = ({
style={{
display: "inline-block",
borderRadius: "3px",
- marginRight: "0.5rem"
+ marginRight: "0.5rem",
}}
/>
<Skeleton