fix: 修复 WorkspaceDetail.tsx TS 编译错误(移除 workspace_id 参数)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled

This commit is contained in:
CI Test
2026-06-27 20:19:05 +08:00
parent 7c8ae7f3cc
commit ef8c210c6e
@@ -23,7 +23,7 @@ const WorkspaceDetail: React.FC = () => {
const projectsQuery = useQuery({
queryKey: ['projects', id],
queryFn: () => getProjects(id!),
queryFn: () => getProjects(),
enabled: !!id,
});
@@ -44,7 +44,6 @@ const WorkspaceDetail: React.FC = () => {
const handleCreateProject = async () => {
const values = await projectForm.validateFields();
createProjectMutation.mutate({
workspace_id: id!,
name: values.name,
description: values.description || '',
});