🎨 Clean code

This commit is contained in:
Daniel 2023-06-09 22:49:34 +08:00
parent de4e233679
commit 8445fa73f2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -124,11 +124,6 @@ func getBlockRefText(id string, tree *parse.Tree) (ret string) {
return
}
sqlBlock := sql.BuildBlockFromNode(node, tree)
if nil == sqlBlock {
return
}
ret = getNodeRefText(node)
ret = maxContent(ret, Conf.Editor.BlockRefDynamicAnchorTextMaxLen)
return