Преглед изворни кода

BugFix for PagePathHierarchicalLink

Yuki Takei пре 6 година
родитељ
комит
01da1014c2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/lib/components/PagePathHierarchicalLink.jsx

+ 1 - 1
src/lib/components/PagePathHierarchicalLink.jsx

@@ -40,7 +40,7 @@ const PagePathHierarchicalLink = (props) => {
   const isParentRoot = isParentExists && linkedPagePath.parent.isRoot;
   const isSeparatorRequired = isParentExists && !isParentRoot;
 
-  const href = encodeURI(urljoin(basePath || '', linkedPagePath.href));
+  const href = encodeURI(urljoin(basePath || '/', linkedPagePath.href));
 
   return (
     <>