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>
  )
}