diff options
Diffstat (limited to 'src/lib')
| -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); |
