From c324065cf2270c4e489749f0281eb45a5f120b08 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 14 Aug 2024 15:20:16 +0700
Subject: <iman> change <a> to <Link>

---
 src/lib/tracking-order/component/TrackingOrder.jsx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'src/lib/tracking-order/component/TrackingOrder.jsx')

diff --git a/src/lib/tracking-order/component/TrackingOrder.jsx b/src/lib/tracking-order/component/TrackingOrder.jsx
index cf790832..394979c1 100644
--- a/src/lib/tracking-order/component/TrackingOrder.jsx
+++ b/src/lib/tracking-order/component/TrackingOrder.jsx
@@ -8,6 +8,7 @@ import { useQuery } from 'react-query'
 import { Spinner } from '@chakra-ui/react';
 import { Search } from 'lucide-react';
 import whatsappUrl from '@/core/utils/whatsappUrl';
+import Link from 'next/link'
 
 const TrackingOrder = () => {
     const [idAWB, setIdAWB] = useState(null)
@@ -70,13 +71,13 @@ const TrackingOrder = () => {
             <div className='flex justify-start items-start'>
             <span className='text-base w-full'>
                 {`Untuk melacak pesanan Anda, masukkan Nomor Transaksi di kotak bawah ini dan masukkan Email login anda lalu tekan tombol "Lacak". Nomor Transaksi ini dapat Anda lihat dalam menu `}
-                <a href='/my/transactions' className='text-red-500'>
+                <Link href='/my/transactions' className='text-red-500'>
                     Daftar Transaksi
-                </a>
+                </Link>
                 {`. Jika mengalami kesulitan `}
-                <a href='https://wa.me/6281717181922' target='_blank' rel='noreferrer' className='text-red-500'>
+                <Link href='https://wa.me/6281717181922' target='_blank' rel='noreferrer' className='text-red-500'>
                     hubungi kami
-                </a>
+                </Link>
                 {`.`}
             </span>
             </div>
-- 
cgit v1.2.3

