mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
refactor: implementing new formatted amount hooks
This commit is contained in:
@@ -185,6 +185,7 @@ export const useCreditNoteSubtotal = () => {
|
||||
const {
|
||||
values: { entries },
|
||||
} = useFormikContext();
|
||||
|
||||
const total = React.useMemo(() => getEntriesTotal(entries), [entries]);
|
||||
|
||||
return total;
|
||||
|
||||
Reference in New Issue
Block a user