diff --git a/src/components/common/DataTable.tsx b/src/components/common/DataTable.tsx index 775e123c..c3bab88f 100644 --- a/src/components/common/DataTable.tsx +++ b/src/components/common/DataTable.tsx @@ -68,7 +68,7 @@ export function DataTable({ {hasData ? (typeof children === 'function' ? children(result) : children) : null} {isLoading && } {!isLoading && !hasData && !query && } - {noResults && } + {!isLoading && noResults && } {allowPaging && hasData && (