diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-25 09:14:54 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-25 09:14:54 +0700 |
| commit | 2e7b5789f013c121b48edcb3589d094a2b636c59 (patch) | |
| tree | e2e0946898062de87340ae7d2e7974a8f4e7993f /src/lib/quotation/components | |
| parent | ad952b397b1cebcf85b66877da8e949e7e7a891f (diff) | |
<iman> back to code
Diffstat (limited to 'src/lib/quotation/components')
| -rw-r--r-- | src/lib/quotation/components/Quotationheader.jsx | 6 |
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); |
