Skip to content

Commit

Permalink
#546451: added fix when receive from backend haven't FiledsName (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-ruslanmatkovskyi authored Aug 10, 2022
1 parent 39f4267 commit 0ebb562
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function baseComponentFactory(componentName: string, exportName?: string, isEdit
return component[exportName];
}
return component?.default || component;
return component?.Default || component?.default || component;
}
export function componentFactory(componentName: string, exportName?: string) {
Expand Down

0 comments on commit 0ebb562

Please sign in to comment.