training_data/apps/web/src/app/main/home/page.tsx

24 lines
686 B
TypeScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Button } from "antd"
import { api } from "@nice/client"
import React from "react"
import { useSport } from "@nice/client"
export default function Dashboard() {
// const {createSportProject} = useSport()
// const handleCreateSportProject = () => {
// createSportProject.mutate({
// data:{
// name:"测试项目",
// description:"测试项目描述",
// type:"测试类型",
// unit:"测试单位",
// isAscending:true
// }
// })
// }
return (
<div >
{/* <Button type="primary" onClick={()=>handleCreateSportProject()}>创建体育项目</Button> */}
</div>
)
}