Skip to content

Commit e45d6cd

Browse files
fixed showDataLoadingIndicator error on charts
1 parent b01612c commit e45d6cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/packages/lowcoder/src/comps/generators/withIsLoading.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ const LoadingWrapper = ({
4040

4141
const showLoading = useMemo(() => {
4242
const themeDataIndicator = currentTheme?.showDataLoadingIndicators;
43-
const compDataIndicator = compState.comp?.comp.showDataLoadingIndicators;
43+
const compDataIndicator = compState.comp?.comp?.showDataLoadingIndicators;
4444

4545
return isLoading ? (
4646
compDataIndicator !== 'undefined' ? compDataIndicator : Boolean(themeDataIndicator)
4747
) : false;
4848
}, [
4949
isLoading,
5050
currentTheme?.showDataLoadingIndicators,
51-
compState.comp?.comp.showDataLoadingIndicators,
51+
compState.comp?.comp?.showDataLoadingIndicators,
5252
]);
5353

5454
if (currentTheme?.dataLoadingIndicator === 'skeleton') {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy