diff options
Diffstat (limited to 'src/lib/treckingAwb/component')
| -rw-r--r-- | src/lib/treckingAwb/component/InformationSection.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/treckingAwb/component/InformationSection.jsx b/src/lib/treckingAwb/component/InformationSection.jsx index 87fb05f4..bb37d4ae 100644 --- a/src/lib/treckingAwb/component/InformationSection.jsx +++ b/src/lib/treckingAwb/component/InformationSection.jsx @@ -1,7 +1,7 @@ import { useState } from "react"; import toast from "react-hot-toast"; -const InformationSection = ({ manifests, source = "tracking" }) => { +const InformationSection = ({ manifests}) => { const [copied, setCopied] = useState(false); const handleCopyClick = () => { @@ -44,14 +44,14 @@ const InformationSection = ({ manifests, source = "tracking" }) => { <span>Kurir</span> <span className='font-semibold'> {' '} - : {manifests?.deliveryOrder.carrier} + : {manifests?.deliveryOrder?.carrier} </span> </div> <div className='grid grid-cols-[150px_auto]'> <span>Jenis Service</span> <span className='font-semibold'> {' '} - : {manifests?.deliveryOrder.service} + : {manifests?.deliveryOrder?.service} </span> </div> <div className='grid grid-cols-[150px_auto]'> |
