Skip to content

Commit 5841419

Browse files
authored
Fix build error: move markdown.tsx out of pages directory
The file src/pages/changelog/markdown.tsx was being treated as a page component by Docusaurus but lacked a default export, causing SSG to fail. Moved it to src/components/changelog/ReleaseBody.tsx and updated the import in index.tsx to fix the build error.
1 parent 31fe830 commit 5841419

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/changelog/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useState } from "react";
22
import Layout from "@theme/Layout";
33
import releases from "@site/src/data/releases.json";
4-
import { ReleaseBody } from "./markdown";
4+
import { ReleaseBody } from "@site/src/components/changelog/ReleaseBody";
55
import "./index.css";
66

77
type Release = {

0 commit comments

Comments
 (0)