diff --git a/packages/ibm-products/src/components/Datagrid/useNestedRowExpander.js b/packages/ibm-products/src/components/Datagrid/useNestedRowExpander.js index ef496e8f4d..d9d86b62b0 100644 --- a/packages/ibm-products/src/components/Datagrid/useNestedRowExpander.js +++ b/packages/ibm-products/src/components/Datagrid/useNestedRowExpander.js @@ -56,7 +56,9 @@ const useNestedRowExpander = (hooks) => { depth: row.depth, index: row.index, }); - await getAsyncSubRows?.(row); + if(getAsyncSubRows){ + await getAsyncSubRows?.(row); + } handleDynamicRowCheck({ dispatch, status: 'finish',