Skip to content

Commit

Permalink
added back double-quoted tablenames
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis committed Feb 7, 2025
1 parent fc98b79 commit 223d02b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function Explorer() {
setQuery(`SELECT * FROM "${tableName}";`);
} else {
const columns = Object.keys(table.schema).map((column) => `"${column}"`);
setQuery(`SELECT ${columns.join(", ")} FROM ${tableName} LIMIT ${pageSize} OFFSET 0;`);
setQuery(`SELECT ${columns.join(", ")} FROM "${tableName}" LIMIT ${pageSize} OFFSET 0;`);
}
}
}, [chainId, setQuery, selectedTableId, table, worldAddress, prevSelectedTableId, query, indexer.type, pageSize]);
Expand Down

0 comments on commit 223d02b

Please sign in to comment.