From 535ab357056422d21a0b40aaa44aead1f2e35343 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Sat, 6 Jan 2024 12:51:13 -0800 Subject: [PATCH] Fix imports --- .../desktop-client/src/components/reports/graphs/BarGraph.tsx | 2 +- packages/desktop-client/src/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/reports/graphs/BarGraph.tsx b/packages/desktop-client/src/components/reports/graphs/BarGraph.tsx index b189f8ac032..40d8f2dfc7d 100644 --- a/packages/desktop-client/src/components/reports/graphs/BarGraph.tsx +++ b/packages/desktop-client/src/components/reports/graphs/BarGraph.tsx @@ -13,7 +13,7 @@ import { ResponsiveContainer, } from 'recharts'; -import usePrivacyMode from 'loot-core/src/client/privacy'; +import { usePrivacyMode } from 'loot-core/src/client/privacy'; import { amountToCurrency } from 'loot-core/src/shared/util'; import { theme } from '../../../style'; diff --git a/packages/desktop-client/src/index.tsx b/packages/desktop-client/src/index.tsx index 45a6f7344ef..d8b3fda9b5e 100644 --- a/packages/desktop-client/src/index.tsx +++ b/packages/desktop-client/src/index.tsx @@ -21,10 +21,11 @@ import thunk from 'redux-thunk'; import * as actions from 'loot-core/src/client/actions'; import * as constants from 'loot-core/src/client/constants'; -import { q, runQuery } from 'loot-core/src/client/query-helpers'; +import { runQuery } from 'loot-core/src/client/query-helpers'; import { reducers } from 'loot-core/src/client/reducers'; import { initialState as initialAppState } from 'loot-core/src/client/reducers/app'; import { send } from 'loot-core/src/platform/client/fetch'; +import { q } from 'loot-core/src/shared/query'; import { App } from './components/App'; import { ServerProvider } from './components/ServerContext';