summaryrefslogtreecommitdiff
path: root/src/lib/quotation
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-25 09:14:54 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-25 09:14:54 +0700
commit2e7b5789f013c121b48edcb3589d094a2b636c59 (patch)
treee2e0946898062de87340ae7d2e7974a8f4e7993f /src/lib/quotation
parentad952b397b1cebcf85b66877da8e949e7e7a891f (diff)
<iman> back to code
Diffstat (limited to 'src/lib/quotation')
-rw-r--r--src/lib/quotation/components/Quotationheader.jsx6
1 files changed, 1 insertions, 5 deletions
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);