mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat(FinancialReports): add loading progress bar.
fix(preformance): Optimize preformance of virtualized list. fix(preformance): Optimize financial reports preformance.
This commit is contained in:
@@ -17,12 +17,12 @@ function ItemsListProvider({
|
||||
...props
|
||||
}) {
|
||||
// Fetch accounts resource views and fields.
|
||||
const { data: itemsViews, isFetching: isViewsLoading } = useResourceViews(
|
||||
const { data: itemsViews, isLoading: isViewsLoading } = useResourceViews(
|
||||
'items',
|
||||
);
|
||||
|
||||
// Fetch the accounts resource fields.
|
||||
const { data: itemsFields, isFetching: isFieldsLoading } = useResourceFields(
|
||||
const { data: itemsFields, isLoading: isFieldsLoading } = useResourceFields(
|
||||
'items',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user