diff --git a/packages/desktop-client/src/components/FinancesApp.tsx b/packages/desktop-client/src/components/FinancesApp.tsx index 775607d678d..d0f3f33f739 100644 --- a/packages/desktop-client/src/components/FinancesApp.tsx +++ b/packages/desktop-client/src/components/FinancesApp.tsx @@ -2,6 +2,7 @@ import React, { type ReactElement, useEffect, useMemo } from 'react'; import { DndProvider } from 'react-dnd'; import { HTML5Backend as Backend } from 'react-dnd-html5-backend'; +import { useSelector } from 'react-redux'; import { Route, Routes, @@ -42,7 +43,6 @@ import { FloatableSidebar } from './sidebar'; import { SidebarProvider } from './sidebar/SidebarProvider'; import { Titlebar, TitlebarProvider } from './Titlebar'; import { TransactionEdit } from './transactions/MobileTransaction'; -import { useSelector } from 'react-redux'; function NarrowNotSupported({ redirectTo = '/budget', diff --git a/packages/desktop-client/src/components/budget/DynamicBudgetTable.tsx b/packages/desktop-client/src/components/budget/DynamicBudgetTable.tsx index 4084cf0ff57..b87adf0e07d 100644 --- a/packages/desktop-client/src/components/budget/DynamicBudgetTable.tsx +++ b/packages/desktop-client/src/components/budget/DynamicBudgetTable.tsx @@ -35,7 +35,7 @@ type DynamicBudgetTableInnerProps = { } & ComponentProps; const DynamicBudgetTableInner = forwardRef< - BudgetTable, + typeof BudgetTable, DynamicBudgetTableInnerProps >( ( @@ -103,7 +103,7 @@ const DynamicBudgetTableInner = forwardRef< ); export const DynamicBudgetTable = forwardRef< - BudgetTable, + typeof BudgetTable, DynamicBudgetTableInnerProps >((props, ref) => { return (