From 2e7b5789f013c121b48edcb3589d094a2b636c59 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 25 Sep 2024 09:14:54 +0700
Subject: <iman> back to code

---
 src/lib/quotation/components/Quotationheader.jsx | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

(limited to 'src/lib/quotation/components/Quotationheader.jsx')

diff --git a/src/lib/quotation/components/Quotationheader.jsx b/src/lib/quotation/components/Quotationheader.jsx
index cb7684ed..d94a55de 100644
--- a/src/lib/quotation/components/Quotationheader.jsx
+++ b/src/lib/quotation/components/Quotationheader.jsx
@@ -57,11 +57,7 @@ const Quotationheader = (quotationCount) => {
       refreshCartf();
     }
   };
-  let transactions = null;
-
-  if (auth) {
-    transactions = useTransactions({ query });
-  }
+  let { transactions } = useTransactions({ query });
 
   const refreshCartf = useCallback(async () => {
     setIsloading(true);
-- 
cgit v1.2.3

