We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a37bfa commit 2d40b7fCopy full SHA for 2d40b7f
1 file changed
packages/ui-components/src/util/table.ts
@@ -88,8 +88,8 @@ export const parseTableStructure = (
88
const thead = nodes.find(node => isTableElement(node, 'thead'));
89
const tbody = nodes.find(node => isTableElement(node, 'tbody'));
90
91
- if (!thead) throw new Error('Thead not found');
92
- if (!tbody) throw new Error('Tbody not found');
+ if (!thead) throw new Error('Thead element not found');
+ if (!tbody) throw new Error('Tbody element not found');
93
94
const columns = extractColumns(thead);
95
const data = extractData(tbody, columns);
0 commit comments