Open gigantedocil opened 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
lexical | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 17, 2024 7:49pm |
lexical-playground | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 17, 2024 7:49pm |
Prevents the error
"TypeError: Cannot use 'in' operator to search for '__language' in null"
from being thrown iffirstBlock
isnull
by putting the$isElementNode(firstBlock)
first in the if statement.