Skip to content

Commit c9d04fa

Browse files
committed
fix: links
1 parent 8fe04d9 commit c9d04fa

File tree

1 file changed

+4
-1
lines changed
  • src/theme/MDXComponents

1 file changed

+4
-1
lines changed

src/theme/MDXComponents/A.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ function hasProtocolPrefix(str) {
77
return str.startsWith("http://") || str.startsWith("https://");
88
}
99
export default function MDXA(props) {
10-
if (props?.href?.includes("https://github.com/databendlabs/databend/pull/")) {
10+
if (
11+
props?.href?.includes("https://github.com/databendlabs/databend/pull/") ||
12+
props?.href?.includes("https://github.com/datafuselabs/databend/pull/")
13+
) {
1114
return <Link {...props} />;
1215
}
1316
if (hasProtocolPrefix(props?.href)) {

0 commit comments

Comments
 (0)