format code

This commit is contained in:
anovazzi1 2024-06-27 14:00:46 -03:00 committed by Gabriel Luiz Freitas Almeida
commit cc53ce4380

View file

@ -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 }));
}