Răsfoiți Sursa

BugFix for PagePathHierarchicalLink

Yuki Takei 6 ani în urmă
părinte
comite
01da1014c2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 (
     <>