refactoring(payment receive): payment receive.

This commit is contained in:
elforjani3
2021-03-06 21:07:43 +02:00
parent 51059bc277
commit 11d688b980
9 changed files with 93 additions and 45 deletions

View File

@@ -37,7 +37,7 @@ export function ActionsMenu({
<MenuItem
icon={<Icon icon={'receipt-24'} iconSize={16} />}
text={formatMessage({ id: 'payment_receive_paper' })}
onClick={() => onDrawer()}
onClick={safeCallback(onDrawer, paymentReceive)}
/>
<MenuItem
text={formatMessage({ id: 'delete_payment_receive' })}