fix: logic issue with href
This commit is contained in:
@@ -323,7 +323,7 @@ export const renderOptions: RenderOptions = {
|
||||
// If entry is not an ImageContainer, it is a page and we return it as a link
|
||||
const props = extractPossibleAttributes(node.attrs)
|
||||
const href =
|
||||
entry.node?.web?.original_url ??
|
||||
entry.node?.web?.original_url ||
|
||||
`/${entry.node.system.locale}${entry.node.url}`
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user