Skip to content

Commit bef7b9c

Browse files
committed
fix: link
1 parent 8f8db99 commit bef7b9c

File tree

1 file changed

+1
-2
lines changed
  • src/components/ui/markdown/renderbers

1 file changed

+1
-2
lines changed

src/components/ui/markdown/renderbers/Mlink.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export const MLink: FC<{
1919
const toUrlParser = new URL(href);
2020

2121
e.preventDefault();
22-
23-
window.open(toUrlParser.pathname);
22+
window.open(toUrlParser);
2423
},
2524
[href, router],
2625
);

0 commit comments

Comments
 (0)