mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
Merge branch 'feature/react-query' of https://github.com/abouolia/Ratteb into feature/react-query
This commit is contained in:
@@ -43,7 +43,6 @@ function ReceiptActionsBar({
|
|||||||
history.push('/receipts/new');
|
history.push('/receipts/new');
|
||||||
};
|
};
|
||||||
|
|
||||||
// Handle the active tab change.
|
|
||||||
const handleTabChange = (customView) => {
|
const handleTabChange = (customView) => {
|
||||||
setReceiptsTableState({
|
setReceiptsTableState({
|
||||||
customViewId: customView.id || null,
|
customViewId: customView.id || null,
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function ReceiptViewTabs({
|
|||||||
setReceiptsTableState,
|
setReceiptsTableState,
|
||||||
|
|
||||||
// #withReceipts
|
// #withReceipts
|
||||||
receiptTableState
|
receiptTableState,
|
||||||
}) {
|
}) {
|
||||||
// Receipts list context.
|
// Receipts list context.
|
||||||
const { receiptsViews } = useReceiptsListContext();
|
const { receiptsViews } = useReceiptsListContext();
|
||||||
|
|||||||
Reference in New Issue
Block a user