format code
This commit is contained in:
parent
71f3bfcf51
commit
cc53ce4380
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ function DataOutputComponent({
|
|||
columnMode?: "intersection" | "union";
|
||||
}) {
|
||||
// If the rows are not an array of objects, convert them to an array of objects
|
||||
if(rows.some((row) => typeof row !== "object")) {
|
||||
if (rows.some((row) => typeof row !== "object")) {
|
||||
rows = rows.map((row) => ({ data: row }));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue