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 (