+
+
+ Your Trips
+
+
+
+
+
+
+ {#if activeTab === "Ongoing Trips"}
+ {#if ongoingTrips.length === 0}
+
+
+
+
+
+ {:else}
+ There is no ongoing trip
+
+ {#each ongoingTrips as trip}
+
+ {/each}
+
+ {/if}
+ {:else}
+ {#if pastTrips.length === 0}
+
+
+ {:else}
+ There is no past trip
+
+ {#each pastTrips as trip}
+
+ {/each}
+
+ {/if}
+ {/if}
+