diff --git a/packages/desktop-client/src/components/reports/reports/Calendar.tsx b/packages/desktop-client/src/components/reports/reports/Calendar.tsx
index f064616fbc7..a07971c7edf 100644
--- a/packages/desktop-client/src/components/reports/reports/Calendar.tsx
+++ b/packages/desktop-client/src/components/reports/reports/Calendar.tsx
@@ -39,7 +39,6 @@ import { useMergedRefs } from '../../../hooks/useMergedRefs';
import { useNavigate } from '../../../hooks/useNavigate';
import { usePayees } from '../../../hooks/usePayees';
import { useResizeObserver } from '../../../hooks/useResizeObserver';
-import { SelectedProviderWithItems } from '../../../hooks/useSelected';
import { SplitsExpandedProvider } from '../../../hooks/useSplitsExpanded';
import { useSyncedPref } from '../../../hooks/useSyncedPref';
import {
@@ -563,141 +562,130 @@ function CalendarInner({ widget, parameters }: CalendarInnerProps) {
/>
- []}
- registerDispatch={() => {}}
- selectAllFilter={(item: TransactionEntity) =>
- !item._unmatched && !item.is_parent
- }
- >
-
-
- {!isNarrowWidth ? (
-
- false}
- isMatched={() => false}
- isFiltered={() => true}
- dateFormat={dateFormat}
- hideFraction={false}
- addNotification={addNotification}
- renderEmpty={() => (
-
- No transactions
-
- )}
- onSort={onSort}
- sortField={sortField}
- ascDesc={ascDesc}
- onChange={() => {}}
- onRefetch={() => setDirty(true)}
- onCloseAddTransaction={() => {}}
- onCreatePayee={() => {}}
- onApplyFilter={() => {}}
- onBatchDelete={() => {}}
- onBatchDuplicate={() => {}}
- onBatchLinkSchedule={() => {}}
- onBatchUnlinkSchedule={() => {}}
- onCreateRule={() => {}}
- onScheduleAction={() => {}}
- onMakeAsNonSplitTransactions={() => {}}
- showSelection={false}
- allowSplitTransaction={false}
- />
-
- ) : (
-
+
+ {!isNarrowWidth ? (
+
+ false}
+ isMatched={() => false}
+ isFiltered={() => true}
+ dateFormat={dateFormat}
+ hideFraction={false}
+ addNotification={addNotification}
+ renderEmpty={() => (
+
+ No transactions
+
+ )}
+ onSort={onSort}
+ sortField={sortField}
+ ascDesc={ascDesc}
+ onChange={() => {}}
+ onRefetch={() => setDirty(true)}
+ onCloseAddTransaction={() => {}}
+ onCreatePayee={() => {}}
+ onApplyFilter={() => {}}
+ onBatchDelete={() => {}}
+ onBatchDuplicate={() => {}}
+ onBatchLinkSchedule={() => {}}
+ onBatchUnlinkSchedule={() => {}}
+ onCreateRule={() => {}}
+ onScheduleAction={() => {}}
+ onMakeAsNonSplitTransactions={() => {}}
+ showSelection={false}
+ allowSplitTransaction={false}
+ />
+
+ ) : (
+
+
- )}
-
-
-
+ {!mobileTransactionsOpen && (
+ <>
+
+ Show transactions
+ >
+ )}
+ {mobileTransactionsOpen && (
+ <>
+
+ Hide transactions
+ >
+ )}
+
+
+
+
+
+ )}
+
+
);
diff --git a/packages/desktop-client/src/hooks/useActions.ts b/packages/desktop-client/src/hooks/useActions.ts
index ecf18a8696f..94014ca640c 100644
--- a/packages/desktop-client/src/hooks/useActions.ts
+++ b/packages/desktop-client/src/hooks/useActions.ts
@@ -24,7 +24,7 @@ export type BoundActions = {
* @deprecated please use actions directly with `useDispatch`
* @see https://github.com/reduxjs/react-redux/issues/1252#issuecomment-488160930
**/
-// eslint-disable-next-line import/no-unused-modules
+
export function useActions() {
const dispatch = useDispatch();
return useMemo(() => {