Skip to content

Commit b080967

Browse files
authored
fix: avoid error because of initialRows
avoid error till the time TanStack/table#2400 merged
1 parent 6fe6a83 commit b080967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plguins/useExportData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ useExportData.pluginName = "useExportData";
3333
function useInstance(instance) {
3434
const {
3535
rows,
36-
initialRows,
36+
initialRows = [],
3737
allColumns,
3838
disableExport,
3939
getExportFileName = defaultGetExportFileName,

0 commit comments

Comments
 (0)