We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87b515 commit 05d89beCopy full SHA for 05d89be
src/store/reducers/overview/overview.ts
@@ -107,7 +107,7 @@ export function useGetMultiOverviewQuery({
107
);
108
109
const {
110
- currentData: currentChindrenDescribe = [],
+ currentData: currentChindrenDescribe,
111
isFetching: childrenDescribeIsFetching,
112
error: childrenDescribeError,
113
} = overviewApi.useGetMultiOverviewQuery(
@@ -123,7 +123,7 @@ export function useGetMultiOverviewQuery({
123
124
const loading = mainDescribeLoading || childrenDescribeLoading;
125
126
- const describe = [mainDescribe, ...currentChindrenDescribe];
+ const describe = [mainDescribe, ...(currentChindrenDescribe ?? [])];
127
128
const mergedDescribe = describe.reduce<IDescribeData>((acc, item) => {
129
if (item?.Path) {
0 commit comments