mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 16:43:36 +00:00
chore: moving route elsewhere and align
This commit is contained in:
@@ -86,18 +86,18 @@ export default function AirlineProductPage() {
|
|||||||
|
|
||||||
{!loading && !error && product && (
|
{!loading && !error && product && (
|
||||||
<>
|
<>
|
||||||
<AirlineDetails
|
|
||||||
product={product}
|
|
||||||
onAddToCart={handleAddToCart}
|
|
||||||
addedToCart={added}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
onClick={() => router.back()}
|
onClick={() => router.back()}
|
||||||
className="mt-6 text-blue-600 hover:underline"
|
className="mt-6 text-blue-600 hover:underline"
|
||||||
>
|
>
|
||||||
← Back to flights
|
← Back to flights
|
||||||
</button>
|
</button>
|
||||||
|
<AirlineDetails
|
||||||
|
product={product}
|
||||||
|
onAddToCart={handleAddToCart}
|
||||||
|
addedToCart={added}
|
||||||
|
/>
|
||||||
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -86,18 +86,18 @@ export default function HotelProductPage() {
|
|||||||
|
|
||||||
{!loading && !error && product && (
|
{!loading && !error && product && (
|
||||||
<>
|
<>
|
||||||
<HotelDetails
|
|
||||||
product={product}
|
|
||||||
onAddToCart={handleAddToCart}
|
|
||||||
addedToCart={added}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<button
|
<button
|
||||||
onClick={() => router.back()}
|
onClick={() => router.back()}
|
||||||
className="mt-6 text-blue-600 hover:underline"
|
className="mt-6 text-blue-600 hover:underline"
|
||||||
>
|
>
|
||||||
← Back to rooms
|
← Back to rooms
|
||||||
</button>
|
</button>
|
||||||
|
<HotelDetails
|
||||||
|
product={product}
|
||||||
|
onAddToCart={handleAddToCart}
|
||||||
|
addedToCart={added}
|
||||||
|
/>
|
||||||
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user