fix navigation bug

This commit is contained in:
Alexander Nozik 2020-03-22 13:14:47 +03:00
parent b312c2e3fd
commit d19d784d2c
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ const SoftwarePage = ({ data }) => {
const link = node.frontmatter.shortTitle; const link = node.frontmatter.shortTitle;
const id = node.frontmatter.id; const id = node.frontmatter.id;
return( return(
<li><Link to={`projects/math#${id}`}>{link}</Link></li> <li><Link to={`/projects/math#${id}`}>{link}</Link></li>
) )
})} })}
</ul> </ul>

View File

@ -31,7 +31,7 @@ const SoftwarePage = ({ data }) => {
const link = node.frontmatter.shortTitle; const link = node.frontmatter.shortTitle;
const id = node.frontmatter.id; const id = node.frontmatter.id;
return( return(
<li><Link to={`projects/software#${id}`}>{link}</Link></li> <li><Link to={`/projects/software#${id}`}>{link}</Link></li>
) )
})} })}
</ul> </ul>