Skip to content

Commit 688bfe5

Browse files
authored
Fix management app flashing on page init (#2692)
* Fix management app flashing on init * Release notes
1 parent 8f543a2 commit 688bfe5

File tree

2 files changed

+12
-5
lines changed
  • packages/desktop-client/src/components
  • upcoming-release-notes

2 files changed

+12
-5
lines changed

packages/desktop-client/src/components/App.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ function AppInner({ budgetId, cloudFileId }: AppInnerProps) {
116116
{(initializing || !budgetId) && (
117117
<AppBackground initializing={initializing} loadingText={loadingText} />
118118
)}
119-
{budgetId ? (
120-
<FinancesApp />
121-
) : (
122-
<ManagementApp isLoading={loadingText != null} />
123-
)}
119+
{!initializing &&
120+
(budgetId ? (
121+
<FinancesApp />
122+
) : (
123+
<ManagementApp isLoading={loadingText != null} />
124+
))}
124125

125126
<UpdateNotification />
126127
<MobileWebMessage />

upcoming-release-notes/2692.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
category: Bugfix
3+
authors: [joel-jeremy]
4+
---
5+
6+
Fix budget list / management app flashing on page init.

0 commit comments

Comments
 (0)