File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,10 @@ export default function Link({
8
8
// eslint-disable-next-line jsx-a11y/anchor-has-content
9
9
if ( ! href ) return < a { ...props } /> ;
10
10
const isInternal =
11
- new URL ( href , "https://joshcena.com" ) . origin === "joshcena.com" ;
12
-
11
+ new URL ( href , "https://joshcena.com" ) . origin === "https://joshcena.com" ;
13
12
const isAnchorLink = href . startsWith ( "#" ) ;
14
13
15
- return isAnchorLink || isInternal ? (
14
+ return isAnchorLink || ! isInternal ? (
16
15
// eslint-disable-next-line jsx-a11y/anchor-has-content
17
16
< a
18
17
href = { href }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export default defineConfig({
19
19
transformMarkdown ,
20
20
[ remarkMDXFrontmatter , { name : "frontMatter" } ] ,
21
21
] ,
22
+ providerImportSource : "@mdx-js/react" ,
22
23
} ) ,
23
24
} ,
24
25
react ( ) ,
You can’t perform that action at this time.
0 commit comments