Fix: Links to wiki content accessed via the version view are not clickable. (#17987)

This commit is contained in:
balibabu
2026-08-07 15:50:26 +08:00
committed by GitHub
parent edcd806761
commit 3f78c156d4

View File

@@ -103,7 +103,6 @@ export function useWikiDetailContent({
const handleMarkdownLinkClick = useCallback(
(pageType: WikiPageType, slug: string) => {
if (isVersionView) return;
if (currentEntry?.slug === slug && currentEntry?.pageType === pageType)
return;
@@ -125,7 +124,6 @@ export function useWikiDetailContent({
[
push,
onSelectArtifact,
isVersionView,
currentEntry,
pageData,
updateCurrentTitle,