Skip to content

Commit 05349ef

Browse files
authored
Merge pull request #40 from techulus/develop
Remove fake 404
2 parents 3e8a272 + b7c02a6 commit 05349ef

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

apps/page/pages/_sites/[site]/index.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ import {
1414
fetchRenderData,
1515
isSubscriptionActive,
1616
} from "../../../lib/data";
17-
import FourOhFour from "../../404";
1817

1918
export default function Index({
20-
notFound,
2119
posts: initialPosts,
2220
page,
2321
postsCount,
2422
settings,
2523
}: {
26-
notFound: boolean;
2724
page: IPage;
2825
settings: IPageSettings;
2926
posts: IPost[];
@@ -69,10 +66,6 @@ export default function Index({
6966
[page]
7067
);
7168

72-
if (notFound || !page || !settings) {
73-
return <FourOhFour />;
74-
}
75-
7669
return (
7770
<>
7871
<SeoTags page={page} settings={settings} posts={posts} />

0 commit comments

Comments
 (0)