Skip to content

Commit 1e6ac74

Browse files
committed
fix typo
1 parent 86a1787 commit 1e6ac74

File tree

1 file changed

+2
-2
lines changed
  • frameworks/keyed/vanillajs-lite/src

1 file changed

+2
-2
lines changed

frameworks/keyed/vanillajs-lite/src/Main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ const clear = patch => {
4242
const empty = !tbody.firstChild;
4343
if (!empty || patch)
4444
!empty && patch ? (tbody.textContent = '', patch()) :
45-
tbody.remove(), tbody = TBody(), patch?.(),
46-
insertBefore.call(table, tbody, null);
45+
(tbody.remove(), tbody = TBody(), patch?.(),
46+
insertBefore.call(table, tbody, null));
4747
};
4848

4949
document.querySelectorAll('button').forEach(function (button) {

0 commit comments

Comments
 (0)