Skip to content

Commit

Permalink
fix: relative error related to console errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sowmya-kota07 committed Nov 9, 2023
1 parent eed2dd4 commit ad2840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/InternalLink/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function InternalLink({ href, children }) {
const filterKey = filterKeys[filterKind];
if (href.includes('#')) {
const hrefParts = href.split('#');
href = `${hrefParts[0]}/q/${filterKind}/${filterKey}#${hrefParts[1]}`;
href = `${hrefParts[0]}q/${filterKind}/${filterKey}#${hrefParts[1]}`;
} else {
href += `/q/${filterKind}/${filterKey}`;
}
Expand Down

0 comments on commit ad2840a

Please sign in to comment.