Skip to content

Commit 765779b

Browse files
committed
tweak: 404 archive
1 parent a694df7 commit 765779b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/404Template.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default function PageNotFoundTemplate({
140140
},
141141
}}
142142
>
143-
{isArchivedDoc ? (
143+
{isArchived && isArchivedDoc ? (
144144
<>
145145
<Typography component="h1" variant="h1">
146146
<Trans i18nKey="doc404.archive.title" />

0 commit comments

Comments
 (0)