Merge branch 'feature/react-query' of https://github.com/abouolia/Ratteb into feature/react-query

This commit is contained in:
a.bouhuolia
2021-02-21 16:30:21 +02:00
2 changed files with 1 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ function ReceiptActionsBar({
history.push('/receipts/new');
};
// Handle the active tab change.
const handleTabChange = (customView) => {
setReceiptsTableState({
customViewId: customView.id || null,

View File

@@ -17,7 +17,7 @@ function ReceiptViewTabs({
setReceiptsTableState,
// #withReceipts
receiptTableState
receiptTableState,
}) {
// Receipts list context.
const { receiptsViews } = useReceiptsListContext();