Fix mobile account view (#1486)

This commit is contained in:
Jarek Samic
2023-08-07 23:37:57 -04:00
committed by GitHub
parent c2d5d475b9
commit facc3acf31
2 changed files with 8 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ export default function Account(props) {
}, []);
// Load categories if necessary.
useCategories();
const categories = useCategories();
const updateSearchQuery = debounce(() => {
if (searchText === '' && currentQuery) {
@@ -253,7 +253,7 @@ export default function Account(props) {
key={numberFormat + hideFraction}
account={account}
accounts={accounts}
categories={state.categories}
categories={categories.list}
payees={state.payees}
transactions={transactions}
prependTransactions={prependTransactions || []}

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [Cldfire]
---
Fix mobile account view