refactor(web): rely on table view row defaults

This commit is contained in:
QuentinHsu
2026-06-10 08:38:11 +08:00
parent 2f6edabc97
commit f78a7973e2
@@ -321,14 +321,12 @@ function renderDesktop<TData>(
): React.ReactNode {
if (showMobile) return null
const rows = props.table.getRowModel().rows
const isFetchingOnly = props.isFetching && !props.isLoading
const fixedHeight = props.fixedHeight !== false
return (
<DataTableView
table={props.table}
rows={rows}
isLoading={props.isLoading}
emptyTitle={props.emptyTitle}
emptyDescription={props.emptyDescription}