diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-03-04 12:15:10 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-03-04 12:15:10 +0100 |
| commit | 0c0983428b387a587dc71baed30d7a16178b3ef2 (patch) | |
| tree | 6b23a56cd341fa4941681ba1efea07bed10c184e /src/components/GroupedTable.tsx | |
| parent | 6677ce3906670afd2a2d13e91f37ccadebca12a7 (diff) | |
Fix build process
Diffstat (limited to 'src/components/GroupedTable.tsx')
| -rw-r--r-- | src/components/GroupedTable.tsx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/components/GroupedTable.tsx b/src/components/GroupedTable.tsx index 6581967..b4f30a7 100644 --- a/src/components/GroupedTable.tsx +++ b/src/components/GroupedTable.tsx @@ -7,16 +7,6 @@ interface GroupedTable { } export const GroupedTable: React.FC<GroupedTable> = ({ data, dataDate }) => { - - const absoluteArrivalTime = (minutes: number) => { - const now = new Date() - const arrival = new Date(now.getTime() + minutes * 60000) - return Intl.DateTimeFormat(navigator.language, { - hour: '2-digit', - minute: '2-digit' - }).format(arrival) - } - const formatDistance = (meters: number) => { if (meters > 1024) { return `${(meters / 1000).toFixed(1)} km`; |
