From 7ed2913450713655d2e962846d795dc6b4091de4 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Mar 2023 15:17:59 +0700
Subject: cart

---
 src/lib/transaction/components/Transaction.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/lib/transaction/components/Transaction.jsx')

diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx
index 104a7f2d..b921eb0d 100644
--- a/src/lib/transaction/components/Transaction.jsx
+++ b/src/lib/transaction/components/Transaction.jsx
@@ -260,7 +260,7 @@ const Transaction = ({ id }) => {
             <button
               className='btn-light w-full mt-4'
               disabled={transaction.data?.status != 'draft'}
-              onClick={downloadQuotation}
+              onClick={() => downloadQuotation(transaction.data)}
             >
               Download Quotation
             </button>
@@ -292,7 +292,7 @@ const Transaction = ({ id }) => {
                 type='button'
                 className='btn-solid-red px-3 py-2'
                 disabled={transaction.data?.status != 'draft'}
-                onClick={downloadQuotation}
+                onClick={() => downloadQuotation(transaction.data)}
               >
                 Download
               </button>
@@ -547,7 +547,7 @@ const SectionContent = ({ address }) => {
 const DescriptionRow = ({ children, label }) => (
   <div className='grid grid-cols-2'>
     <span className='text-gray_r-11'>{label}</span>
-    <span className='text-right'>{children}</span>
+    <span className='text-right break-all leading-6'>{children}</span>
   </div>
 )
 
-- 
cgit v1.2.3

