Add route data to tabs
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Alessio Davoli 2023-11-27 05:40:03 +01:00
parent af238ff7e2
commit 0dfca0de17

View file

@ -6,12 +6,6 @@
export let data: App.Route;
let divider;
onMount(async () => {
console.log(data);
});
const mapClick = (evt) => {};
</script>
<Header></Header>
@ -22,7 +16,7 @@
<p>Percorso <b>{data.name_it}</b></p>
<p id="duration">Dislivello {data.elevation_gain}</p>
</div>
<Tabs on:map-click={mapClick} route={data}></Tabs>
<Tabs route={data}></Tabs>
</div>
<style>