diff --git a/src/App.tsx b/src/App.tsx index 8b679ce2..00927c2d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -248,7 +248,7 @@ const AppNoError = ({ { - if (!("nodeType" in node.data)) { + if (node.type == "primer-def-name") { setSelection({ def: node.data.def, });