forked from sheetjs/docs.sheetjs.com
chore: [Electron Demo] - remove unused variable declaration.
This commit is contained in:
parent
fd0d5a6ad0
commit
4ff62b8032
@ -45,10 +45,9 @@ function renderWorkbookToTables(wb) {
|
||||
const sheetNames = wb.SheetNames;
|
||||
sheetNames.forEach((sheetName) => {
|
||||
const sheet = wb.Sheets[sheetName];
|
||||
const sheetname = sheetName;
|
||||
const table = XLSX.utils.sheet_to_html(sheet);
|
||||
htmlout.innerHTML += `<details class="sheetjs-sheet-container">
|
||||
<summary class="sheetjs-sheet-name">${sheetname}</summary>
|
||||
<summary class="sheetjs-sheet-name">${sheetName}</summary>
|
||||
<div class="sheetjs-tab-content">${table}</div>
|
||||
</details>`;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user