mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
fix(tours): export only what is imported, and keep the planner page at its size
This commit is contained in:
@@ -19,7 +19,7 @@ const PADDLE_ACTIVITY: Record<PaddleBoatType, string> = {
|
||||
other: 'paddling',
|
||||
};
|
||||
|
||||
export function gpxActivityOf(type: string, boat: string | null): string {
|
||||
function gpxActivityOf(type: string, boat: string | null): string {
|
||||
if (type === 'kayak') return PADDLE_ACTIVITY[(boat ?? 'other') as PaddleBoatType] ?? PADDLE_ACTIVITY.other;
|
||||
return type === 'hike' ? 'hiking' : type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user