fix(tours): export only what is imported, and keep the planner page at its size

This commit is contained in:
Maurice
2026-10-19 17:00:21 +02:00
parent ce07c4dc72
commit 75d8351fec
6 changed files with 4 additions and 9 deletions
@@ -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;
}