From 4fb13de7374958c845b48d869e604fb6c39be6b1 Mon Sep 17 00:00:00 2001 From: Dominic Arrojado Date: Wed, 22 May 2024 15:21:10 +0800 Subject: [PATCH] use asChild for link buttons --- app/settings/send-link-form.tsx | 8 ++-- app/topics/bbdc-appointment-slots/page.tsx | 6 +-- app/topics/coe-bidding-results/page.tsx | 6 +-- app/topics/fixed-deposit-rates/page.tsx | 6 +-- .../japan-visa-appointment-slots/page.tsx | 42 +++++++++++------- app/topics/jetstar-flights/page.tsx | 6 +-- .../singapore-airlines-flights/page.tsx | 6 +-- app/topics/ssdc-appointment-slots/page.tsx | 44 +++++++------------ 8 files changed, 60 insertions(+), 64 deletions(-) diff --git a/app/settings/send-link-form.tsx b/app/settings/send-link-form.tsx index a19b7fb..b76d730 100644 --- a/app/settings/send-link-form.tsx +++ b/app/settings/send-link-form.tsx @@ -82,12 +82,12 @@ export default function SendLinkForm() { )} Send Link - - - + + diff --git a/app/topics/bbdc-appointment-slots/page.tsx b/app/topics/bbdc-appointment-slots/page.tsx index b6a87e9..ed28e81 100644 --- a/app/topics/bbdc-appointment-slots/page.tsx +++ b/app/topics/bbdc-appointment-slots/page.tsx @@ -99,9 +99,9 @@ export default function BBDCAppointmentSlots() { as one of the topics you want to subscribe to.
- - - +
); diff --git a/app/topics/coe-bidding-results/page.tsx b/app/topics/coe-bidding-results/page.tsx index 2477087..4496f6e 100644 --- a/app/topics/coe-bidding-results/page.tsx +++ b/app/topics/coe-bidding-results/page.tsx @@ -128,9 +128,9 @@ export default function CoeBiddingResults() { want to subscribe to.
- - - +
); diff --git a/app/topics/fixed-deposit-rates/page.tsx b/app/topics/fixed-deposit-rates/page.tsx index 0f68abc..57470c0 100644 --- a/app/topics/fixed-deposit-rates/page.tsx +++ b/app/topics/fixed-deposit-rates/page.tsx @@ -64,9 +64,9 @@ export default function FixedDepositRates() { topics you want to subscribe to.
- - - +
); diff --git a/app/topics/japan-visa-appointment-slots/page.tsx b/app/topics/japan-visa-appointment-slots/page.tsx index 0ed3d35..f60e385 100644 --- a/app/topics/japan-visa-appointment-slots/page.tsx +++ b/app/topics/japan-visa-appointment-slots/page.tsx @@ -86,24 +86,34 @@ export default function JapanVisa() { /spouse). -
- - - - -
+
+ - +
); diff --git a/app/topics/jetstar-flights/page.tsx b/app/topics/jetstar-flights/page.tsx index 0e61fd9..3489604 100644 --- a/app/topics/jetstar-flights/page.tsx +++ b/app/topics/jetstar-flights/page.tsx @@ -72,9 +72,9 @@ export default function JetstarFlights() { the topics you want to subscribe to.
- - - +
); diff --git a/app/topics/singapore-airlines-flights/page.tsx b/app/topics/singapore-airlines-flights/page.tsx index f5ab012..119b018 100644 --- a/app/topics/singapore-airlines-flights/page.tsx +++ b/app/topics/singapore-airlines-flights/page.tsx @@ -76,9 +76,9 @@ export default function SingaporeAirlinesFlights() { as one of the topics you want to subscribe to.
- - - +
); diff --git a/app/topics/ssdc-appointment-slots/page.tsx b/app/topics/ssdc-appointment-slots/page.tsx index 91654db..ffea87d 100644 --- a/app/topics/ssdc-appointment-slots/page.tsx +++ b/app/topics/ssdc-appointment-slots/page.tsx @@ -93,37 +93,23 @@ export default function SsdcAppointmentSlots() { the Telegram channel (for practical lesson booking) or to head over to the email notifications subscription page (for other appointments). -
- - - - -
+
+ - +
);