feat(qucikpayment):add exchange rate muted & branch.

This commit is contained in:
elforjani13
2022-03-07 20:46:48 +02:00
parent 87a56dcd95
commit 2501626d70
7 changed files with 31 additions and 56 deletions

View File

@@ -14,12 +14,7 @@ const QuickPaymentMadeContext = React.createContext();
/**
* Quick payment made dialog provider.
*/
function QuickPaymentMadeFormProvider({
billId,
baseCurrency,
dialogName,
...props
}) {
function QuickPaymentMadeFormProvider({ billId, dialogName, ...props }) {
// Handle fetch bill details.
const { isLoading: isBillLoading, data: bill } = useBill(billId, {
enabled: !!billId,
@@ -48,7 +43,6 @@ function QuickPaymentMadeFormProvider({
accounts,
branches,
dialogName,
baseCurrency,
createPaymentMadeMutate,
isBranchesSuccess,
};