Skip to content

Commit 12815f8

Browse files
committed
fix link
1 parent ba66e26 commit 12815f8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/theme/NotFound/index.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ const NotFound = ({ location }) => {
2828
autoAddBaseUrl: false,
2929
target: "_self",
3030
},
31-
{ href: "https://blog.owenyang.top", label: "阅读木易的博客" },
32-
{ to: "/portal/docs/intro/", label: "阅读文档", autoAddBaseUrl: true },
31+
{ to: "https://blog.owenyang.top", label: "阅读木易的博客" },
32+
{
33+
to: "/portal/docs/intro/",
34+
label: "阅读文档",
35+
autoAddBaseUrl: true,
36+
},
3337
].map(({ to, label, autoAddBaseUrl }) => (
3438
<li key={to}>
3539
<Link to={to} autoAddBaseUrl={autoAddBaseUrl}>

0 commit comments

Comments
 (0)