import React from "react"
import ReactMarkdown from "react-markdown"
import remarkGfm from "remark-gfm"
import {
Result,
Skeleton
} from "antd"
import { SiGithub } from "react-icons/si"
import config from "config"
import "./index.less"
const FetchChangelogs = async () => {
const response = await app.cores.api.customRequest({
method: "GET",
url: `/release-notes`,
})
return response.data
}
export default {
id: "changelogs",
icon: "MdHistory",
label: "Changelogs",
group: "bottom",
render: () => {
const [L_Changelogs, R_Changelogs, E_Changelogs,] = app.cores.api.useRequest(FetchChangelogs)
console.log(R_Changelogs, E_Changelogs)
if (L_Changelogs) {
return
{changelog.date}