Skip to content

Commit a84bf99

Browse files
authored
Update page.tsx
1 parent 7b840e6 commit a84bf99

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/docs/[[...slug]]/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ export default async function Page(props: {
8787
}
8888

8989
let content = await page.data.load();
90-
if (content.isLocal) { // local static html
91-
return <html dangerouslySetInnerHTML={{ __html: content.source }} />;
92-
}
9390

9491
if (content.source) {
9592
const sourcePage = source.getPage(content.source.split("/"));

0 commit comments

Comments
 (0)