mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-12 16:04:39 +08:00
parent
1c45d0777a
commit
056d01cee7
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ const VirtualizedLines = {
|
||||||
|
|
||||||
this.state.contentElement = this.el.querySelector("[data-content]");
|
this.state.contentElement = this.el.querySelector("[data-content]");
|
||||||
|
|
||||||
if (!this.state.templateElement) {
|
if (!this.state.contentElement) {
|
||||||
throw new Error("VirtualizedLines must have a child with data-content");
|
throw new Error("VirtualizedLines must have a child with data-content");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue